Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

not able to deploy application

 
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.
 
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
 
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 !
 
Maybe he went home and went to bed. And took this tiny ad with him:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic