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 |
how can we load a file of a user in the database table?
can i call multipule form beans in Action class?
Why is main purpose of XML?
i want documentation of text file splitter & merger of advanced java
how java is os independent language ?
whats is mean by connectionpooling
What are preemptive scheduling and time slicing and what is the difference between them?
what about static?
What is colon_pkg_prefixes and what is its use?
How to do registration form using struts and hibernate?
What is Bootstrapping in RMI?
How many layers are there in RMI and what are they?