wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 12761
    
    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
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..
 
It is sorta covered in the JavaRanch Style Guide.
 
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