File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat application deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat application deployment" Watch "Tomcat application deployment" New topic
Author

Tomcat application deployment

Amruta Agarwal
Greenhorn

Joined: Apr 11, 2007
Posts: 11
I was reading Tomcat application developer's guide:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html

Under the topic "Standard Directory Layout" it is said that:

When you install an application into Tomcat (or any other 2.2/2.3-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are made visible to other classes within your particular web application. Thus, if you include all of the required library classes in one of these places (be sure to check licenses for redistribution rights for any third party libraries you utilize), you will simplify the installation of your web application -- no adjustment to the system class path (or installation of global library files in your server) will be necessary.

"are made visible to other classes within your particular web application".
What other classe are these, and where are they?
Dont the class files and the jar files make the application classes?
Nick Tountas
Greenhorn

Joined: Jul 22, 2006
Posts: 5
Yes, what it means is that you need to put them there, otherwise they are not visible.

Also don't forget that if you are using some framework there may be further directories etc.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat application deployment
 
Similar Threads
.war Questions
jsp pages in tomcat
JasperException
Help in database connections
Importance of web.xml?