Z
z
Hi, I have a question about Tomcat 4.x. I'm using JSP with some .java
libraries inside a package named "p". The *.java files are under directory
"./WEB-INF/classes/p/". All worked ok until I accidentally deleted WEB-INF
folder, so I created all that directories again to put everything like
before, but now it doesn't find the packages.
The .jsp files have this first line:
<%@ page import="p.*" %>
Is it a bug of Tomcat?
Did I deleted some hidden files or what?
Thx in advance
PD: this is the server output:
===============================================================
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 1 in the jsp file: /index.jsp
Generated servlet error:
[javac] Compiling 1 source file
/var/lib/tomcat4/work/Standalone/localhost/p2095768/index_jsp.java:7:
package p does not exist
import p.*;
^
===============================================================
libraries inside a package named "p". The *.java files are under directory
"./WEB-INF/classes/p/". All worked ok until I accidentally deleted WEB-INF
folder, so I created all that directories again to put everything like
before, but now it doesn't find the packages.
The .jsp files have this first line:
<%@ page import="p.*" %>
Is it a bug of Tomcat?
Did I deleted some hidden files or what?
Thx in advance
PD: this is the server output:
===============================================================
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 1 in the jsp file: /index.jsp
Generated servlet error:
[javac] Compiling 1 source file
/var/lib/tomcat4/work/Standalone/localhost/p2095768/index_jsp.java:7:
package p does not exist
import p.*;
^
===============================================================