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,


How do you maintain a stateful session object across the session

2 Answers   HCL,


What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,


What is the difference between Process and Threads?

19 Answers  


How is serialization used generally ?

3 Answers  






On a computer that having single CPU, how multithreading concept can be achieved?

1 Answers   Zensar,


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

9 Answers   CTS,


can we write implementation for a method with in another method?

3 Answers   Cap Gemini,


What is the name of the state, when a thread is executing?

4 Answers  


Why DOM Parser would take more Memory than SAX parser while they are parsing?

3 Answers   OnMobile,


difference between HashMap, Hashset and hashTable?

2 Answers   HCL, Infotech,


Differences between applications and applets?

3 Answers  






Categories