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

how can we load a file of a user in the database table?

3 Answers   ITC Infotech,


can i call multipule form beans in Action class?

1 Answers   Wipro,


Why is main purpose of XML?

5 Answers  


i want documentation of text file splitter & merger of advanced java

1 Answers   Infosys,


how java is os independent language ?

3 Answers  






whats is mean by connectionpooling

2 Answers   SolutionNET,


What are preemptive scheduling and time slicing and what is the difference between them?

1 Answers  


what about static?

1 Answers  


What is colon_pkg_prefixes and what is its use?

0 Answers  


How to do registration form using struts and hibernate?

1 Answers  


What is Bootstrapping in RMI?

1 Answers  


How many layers are there in RMI and what are they?

1 Answers  






Categories