Answer Posted / anji
The structure of the web app. is
demo[root]
- all jsps will go her
- WEB-INF
- web.xml
- tld files
- classes
- all java class files will go here
Compile all the files and create a war file
copy the war file into Tomcat_root\webapps folder
if you use weblogic or webspehere the deployment will be
different.
| Is This Answer Correct ? | 41 Yes | 28 No |
Post New Answer View All Answers
What are the different mode that servlets can be used?
How can the session in servlet be destroyed?
What are the drawbacks of cgi?
How do you communicate in between Applets and Servlets?
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
How do you deal property files in servlet?
Can we override destroy method in servlet?
How is an application exception handling is done using a servlet?
Why is Servlet so popular?
When servlet object is created?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Which java framework is most popular?
How to get the current httpsession object?
What is the use of httpservletrequestwrapper?
What is the importance of init() method in Servlet ?