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

the use of try and ffinally keyword

1 Answers  


what is difference between object state and behaviour?

3 Answers  


What is the relation between the infobus and rmi?

0 Answers  


Are we allowed to change the transaction isolation property in middle of a transaction?

0 Answers  


what are the software's needed to develop advanced java 3 tier application project

1 Answers  






Explain the purposes of methods wait(), notify(), notifyAll ()?

2 Answers  


Name the class that is used to bind the server object with RMI Registry?

0 Answers  


important features of java which differenciate it from c++

3 Answers  


What is a modular application?

0 Answers  


Difference between loadclass and class.forname?

0 Answers  


What are the call back methods in entity bean?

0 Answers  


what is the life cycle of jsp?

1 Answers   HCL, ITC Infotech,


Categories