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 doesn’t a servlet include main()? How does it work?
what do you understand by url rewriting?
Write a servlet to upload file on server.
Describe the phases of servlet lifecycle?
What is war file?
How the typical servlet code look like ?
Explain the role of dispatcherservlet and contextloaderlistener.
Define declaration.
What is servlet interface?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What are the difference between session and cookies in servlet? Explain
What do you mean by cgi and what are its drawbacks?
What are the features added in Servlet 2.5?
Explain get and post.
What do you mean by servlet?