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 to implement RMI in Java?

0 Answers   TCS,


What is JTS?

0 Answers  


In a multitiered application which tier is the browser in?

3 Answers   Adobe,


diff mvc1 and mvc2 wahts is mean by servlet chaining?

3 Answers   SolutionNET,


Explain the advantages and disadvantages of detached objects.

0 Answers  






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

1 Answers  


What’s jboss cache in short?

0 Answers  


Difference Between java & javax

5 Answers   Sun Microsystems, Wipro,


Why doesn’t the focus feature on the tag work in every circumstance?

0 Answers  


What is private static final long serialVersionUID = 1L;

3 Answers   Google,


a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??

2 Answers  


Can I run seam outside of jboss as?

0 Answers  


Categories