I've had it with tomcat. I've never seen an application with reverse logic with respect to path. and which has so many diffent loops and settings to fidle with...
Here is the main problem now:
intallation: three test files to work with...
GetName.html, SaveName.jsp in:
e:\tomcat4.1\webapps\root
userData.class bean class not in a package
e:\tomcat4.1\webapps\root\web-inf\classes
I'm apple to access the html page @ the problem is <jsp:useBean> reference is not able to find the userData bean class .... see the error below ....what should I do in order to get the bean to be visible to the jsp page?
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: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] E:\Tomcat 4.1\work\Standalone\localhost\_\SaveName_jsp.java:41: cannot resolve symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.SaveName_jsp
[javac] UserData user = null;
[javac] ^
[javac] E:\Tomcat 4.1\work\Standalone\localhost\_\SaveName_jsp.java:43: cannot resolve symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.SaveName_jsp
[javac] user = (UserData) pageContext.getAttribute("user", PageContext.SESSION_SCOPE);
[javac] ^
[javac] E:\Tomcat 4.1\work\Standalone\localhost\_\SaveName_jsp.java:46: cannot resolve symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.SaveName_jsp
[javac] user = (UserData) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "UserData"
[javac] ^
[javac] 3 errors
Here is the main problem now:
intallation: three test files to work with...
GetName.html, SaveName.jsp in:
e:\tomcat4.1\webapps\root
userData.class bean class not in a package
e:\tomcat4.1\webapps\root\web-inf\classes
I'm apple to access the html page @ the problem is <jsp:useBean> reference is not able to find the userData bean class .... see the error below ....what should I do in order to get the bean to be visible to the jsp page?
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: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] E:\Tomcat 4.1\work\Standalone\localhost\_\SaveName_jsp.java:41: cannot resolve symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.SaveName_jsp
[javac] UserData user = null;
[javac] ^
[javac] E:\Tomcat 4.1\work\Standalone\localhost\_\SaveName_jsp.java:43: cannot resolve symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.SaveName_jsp
[javac] user = (UserData) pageContext.getAttribute("user", PageContext.SESSION_SCOPE);
[javac] ^
[javac] E:\Tomcat 4.1\work\Standalone\localhost\_\SaveName_jsp.java:46: cannot resolve symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.SaveName_jsp
[javac] user = (UserData) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "UserData"
[javac] ^
[javac] 3 errors