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 |
Have you used threads in Servelet?
Why threads will block on I/O?
What is the difference between long.class and long.type?
What is clustering? What are the different algorithms used for clustering?
what is the proxy pattern?
what is the difference between System.out.println and out.println in java
What is abstract schema?
What is meant by method chaining?
whats is statement and procedure
Give me simple example of hibernate caching and explain the details of caching????? thanks in adv.
whether the connectionpooling used in struts?
What is the lifecycle of an applet?