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 |
How substring() method of string class create memory leaks?
what is Static binding?
What is the difference between the string and stringbuffer classes?
What is a clone?
Are there books about seam?
Will the general public have access to the infobus apis?
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?
Which containers use a border layout as their default layout?
What is the use of Semaphore?
What state does a thread enter when it terminates its processing?
What is the difference between a stub and a skeleton?
9 Answers ABC, College School Exams Tests, Geoservices, Polaris, Qualcomm, Rajiv Gandhi College of Engineering and Technology RGCET, UTIITSL, Wipro,
In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another client is making request how it will work