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 won't compile my JSPs!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat won Watch "Tomcat won New topic
Author

Tomcat won't compile my JSPs!!!

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I have the following problem:

I deployed my app onto my school's web server, and the tomcat doesn't seem to compile the files inside work/ directory (it doesn't even create them)... it only created index.jsp, 404.jsp, and error.jsp, which are specified in web.xml as welcome and error files... the rest of the files simply aren't found...

Anybody ever had this problem?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
1. Does the normal Tomcat startup index.jsp show as expected?
2. Exactly where did you put your .jsp files - show the directory structure under webapps please.
3. If you are trying to create your own "web application" - did you create a web.xml file for it?
Bill


Java Resources at www.wbrogden.com
Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I figured out the problem...

Tomcat folder had its group set to my username (linux), and for some reason the WORK folder for my application was root's... I dunno how that happened, but I just changed the app name and everything worked just fine..
 
jQuery in Action, 2nd edition
 
subject: Tomcat won't compile my JSPs!!!
 
Similar Threads
simpleTag support
Tomcat and JBuilder
how to copy .class files efficiently to Tomcat?
JSP page will not compile to Servlet
Cannot find symbol