Answers were Sorted based on User's Feedback
Answer / balu
servlet by retrieving the form and setting the action as
ex:if our html has a from named 'XXX'
var formName = document.getElementById('XXX');
var url = contextPath + '/desiredServlet';
formName.action = url;
|Is This Answer Correct ?||7 Yes||1 No|
Answer / subrahmanyam
|Is This Answer Correct ?||2 Yes||4 No|
What is servlet api used for conneting database?
What is use of parseQueryString?
Why are servlets used?
when the webcontainer creates ServeletConfig,ServletContext objects? befoure creating the Servlet object or not?
What's the architecture of a servlet package?
How to get the path of servlet in the server?
Whether thread can be used in servlets?
How to make servlet thread safe?
How many ways to remove the session object in the container
What is war file?
Why jsp is better than servlet?
Why are http servlets used in programming?