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

What are different types of controls in AWT?

11 Answers   IBM,


what is JTS?

1 Answers  


Why is main purpose of XML?

5 Answers  


does j2ee means advanced java

10 Answers  


what is a non-repeatable read?

0 Answers  






How to add new JTabbed pane?

1 Answers  


explain the flow of struts?

2 Answers   SolutionNET,


Explain Life cycle of Servlet Filter.

2 Answers   ITC Infotech, InfoBrain,


What are synchronized methods and synchronized statements?

2 Answers   Adobe,


when we applied start()method on a thread ,how does it know that to execute run()method on that object?

2 Answers   HCL,


What is UniCastRemoteObject and what is its use in RMI?

6 Answers  


can a static method be overridden

12 Answers   SolutionNET,






Categories