aspose file tools*
The moose likes Tomcat and the fly likes not able to deploy application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "not able to deploy application" Watch "not able to deploy application" New topic
Author

not able to deploy application

Rakesh Jhamb
Ranch Hand

Joined: Jun 18, 2003
Posts: 154
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.


SCJP2, SCWCD
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

No, you may not.

http://jakarta.apache.org/tomcat/faq/misc.html#invoker
Rara Levis
Greenhorn

Joined: Sep 10, 2003
Posts: 11
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 !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not able to deploy application