how can u cal servlet from java?
Answers were Sorted based on User's Feedback
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 |
Answer / saikumar
Through the service method can call the servlet
Is This Answer Correct ? | 3 Yes | 1 No |
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 |
the use of try and ffinally keyword
what is difference between object state and behaviour?
What is the relation between the infobus and rmi?
Are we allowed to change the transaction isolation property in middle of a transaction?
what are the software's needed to develop advanced java 3 tier application project
Explain the purposes of methods wait(), notify(), notifyAll ()?
Name the class that is used to bind the server object with RMI Registry?
important features of java which differenciate it from c++
What is a modular application?
Difference between loadclass and class.forname?
What are the call back methods in entity bean?
what is the life cycle of jsp?