how can u cal servlet from java?
Answers were Sorted based on User's Feedback
Answer / manjul
create a HTTPClient object
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet("your servlet");
HTTPResponse response = httpclient.execute(httpost);
| Is This Answer Correct ? | 22 Yes | 3 No |
Answer / saikumar
Through the service method can call the servlet
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sharief
First write a jsp page.In the form tag of jsp write the
servlet name,then the control automatically goes to the servlet.
Ex: <form name="myform" action="NameOfYourServlet"
method="post/get">
</form>
| Is This Answer Correct ? | 2 Yes | 1 No |
types of exceptions
What do you know about seam?
How to determine applet?s height and width?
What is the difference between long.class and long.type?
Define the remote object implementation?
What is multi-tasking? Types?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
Can you give me a simple example of using the requiredif validator rule?
What is in-memory replication?
What are the ways to define classes that can be run as threads?
What are the sequence of steps to write pub or sub model kind of application?
What are the disadvantages of using threads?