Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat won Watch "Tomcat won New topic

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

Joined: Mar 22, 2000
Posts: 12759
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?
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..
I agree. Here's the link:
subject: Tomcat won't compile my JSPs!!!
Similar Threads
how to copy .class files efficiently to Tomcat?
Tomcat and JBuilder
Cannot find symbol
simpleTag support
JSP page will not compile to Servlet