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 |
what is the use of State Factories?
Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user?
5 Answers HCL, Mobillo Venture,
Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.
What is multithread synchronizing ?
Explain the steps in details to load the server object dynamically?
what's the main difference between unix os and linux os?
Write a singleton program?
Explain about local interfaces.
What are the steps involved in developing an RMI object?
Explain bind(), rebind(), unbind() and lookup() methods?
What is a session? Can you share a session object between different theads?
How to pass parameters in RMI?