• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

not able to deploy application

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, you may not.

http://jakarta.apache.org/tomcat/faq/misc.html#invoker
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic