how can u cal servlet from java?

Answers were Sorted based on User's Feedback



how can u cal servlet from java?..

Answer / velmurugan

call the action in form of jsp file

Is This Answer Correct ?    24 Yes 5 No

how can u cal servlet from java?..

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

how can u cal servlet from java?..

Answer / ganesh

by write some code.

Is This Answer Correct ?    9 Yes 3 No

how can u cal servlet from java?..

Answer / saikumar

Through the service method can call the servlet

Is This Answer Correct ?    3 Yes 1 No

how can u cal servlet from java?..

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 can u cal servlet from java?..

Answer / kanna

through applet only call servlet

Is This Answer Correct ?    8 Yes 10 No

how can u cal servlet from java?..

Answer / rajinder singh

do some coding on jsp page

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Advanced Java Interview Questions

Have you used threads in Servelet?

0 Answers   Satyam,


Why threads will block on I/O?

2 Answers  


What is the difference between long.class and long.type?

0 Answers  


What is clustering? What are the different algorithms used for clustering?

0 Answers  


what is the proxy pattern?

1 Answers  






what is the difference between System.out.println and out.println in java

10 Answers   CTS,


What is abstract schema?

0 Answers  


What is meant by method chaining?

0 Answers  


whats is statement and procedure

0 Answers   TCS,


Give me simple example of hibernate caching and explain the details of caching????? thanks in adv.

1 Answers  


whether the connectionpooling used in struts?

2 Answers   SolutionNET,


What is the lifecycle of an applet?

2 Answers  


Categories