• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not able to deploy application

 
Rakesh Jhamb
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am not able to deploy any application on tomcat 4.0, while my earlier deployed applications are running fine. I am maintaining the complete web-app directory structure.What may be the reason. Is it necessary to have mappings in web.xml file? Can't we execute a servlet located
in webapps/myapplication/web-inf/classes/MyServlet
by http://localhost:8080/myapplication/servlet/MyServlet without having any mappings

thanks in advance.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, you may not.

http://jakarta.apache.org/tomcat/faq/misc.html#invoker
 
Rara Levis
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to perform the following to Deploy Web app on Tomcat:-
1. Created the web application folder and its directory structure in {tomcat}/webapps/ folder (.. I suppose this you have already done.)
2. Map servlets in the web.xml file.
3. Make a context entry in the {tomcat}/conf/server.xml file.
4. Stop and Start the tomcat server again
Chow !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic