You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Cyberjobe <cy...@yahoo.com.br> on 2004/06/23 21:58:32 UTC
Tomcat does not compiles my .jsp!
Hi!
I have followed the tomcat's installation manual and I did make the Servlets
work. But not the .jsp files!
So... I modified the server.xml and put this:
<Context path="/jsp1" docBase="/home/cyberjobe/jsp1"
reloadable="true" crossContext="true"/>
On the /home/cyberjobe/jsp1 I have the file index.jsp (just a test) . I also
have a dir "WEB-INF".
I restart the Tomcat and... try to conect on localhost:8080/jsp1/index.jsp.
I got this messages:
.........................................................
org.apache.jasper.JasperException: Unable to compile class for JSP
(...)
java.io.FileNotFoundException:
/usr/local/.../localhost/jsp1/org/apache/jsp/index_jsp.java
(...)
.........................................................
What can I do to solve this?
Thanks,
Cyberjobe
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Tomcat does not compiles my .jsp!
Posted by Jérôme Duval <je...@regitan.qc.ca>.
You probably have an error in you jsp file. To test this right a normal html
file with a jsp extension. If you aren't familiar with html, just go to any
website and copy the source of the page and use that...
-----Original Message-----
From: Cyberjobe [mailto:cyberjobe2099@yahoo.com.br]
Sent: Wednesday, June 23, 2004 3:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat does not compiles my .jsp!
Hi!
I have followed the tomcat's installation manual and I did make the Servlets
work. But not the .jsp files!
So... I modified the server.xml and put this:
<Context path="/jsp1" docBase="/home/cyberjobe/jsp1"
reloadable="true" crossContext="true"/>
On the /home/cyberjobe/jsp1 I have the file index.jsp (just a test) . I also
have a dir "WEB-INF".
I restart the Tomcat and... try to conect on localhost:8080/jsp1/index.jsp.
I got this messages:
.........................................................
org.apache.jasper.JasperException: Unable to compile class for JSP
(...)
java.io.FileNotFoundException:
/usr/local/.../localhost/jsp1/org/apache/jsp/index_jsp.java
(...)
.........................................................
What can I do to solve this?
Thanks,
Cyberjobe
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org