Answer Posted / subrahmanyam
We have to Make a WEB-INF folder and under it classes
folder. In WEB-INF we have to write web.xml .
Our compled servelet class file should be stored in classes
folder.
Make a war file using jar & deploy in Web.
| Is This Answer Correct ? | 97 Yes | 27 No |
Post New Answer View All Answers
Why is a constructor needed in a servlet even if we use the init method?
What are its drawbacks of cgi?
What do you mean by singlethreadmodel interface?
How can we refresh automatically when new data has entered the database?
Given the request path below, which are context path, servlet path and path info?
What are the benefits of using servlet over cgi?
How can an existing session be invalidated?
How will you pass values from HTML page to the servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What is a servlet engine?
What are the uses of servlet and what is servlet chaining?
What is the process for chaining servlet?
How to find whether a parameter exists in the request object?
How do we go with database connection and log4j integration in servlet?
Explain jsessionid?