| Author |
The value for the useBean class attribute user.userData is invalid.
|
martin brow
Greenhorn
Joined: Dec 13, 2011
Posts: 3
|
|
Hello,
I am running into a problem, I can't acces my .class files in Tomcat 7. Here is the code:
index.jsp:
NextPage.jsp:
SaveName.jsp:
web.xml:
My directory structure is as follows:
jsp_test/WebContent: index.jsp, NextPage.jsp, SaveName.jsp
jsp_test/WebContent/WEB-INF: web.xml
jsp_test/WebContent/WEB-INF/classes/user/userData.class
But Tomcat gives the following error once I have submitted data in index.jsp:
I have tried searching on the internet, but I cannot find any solution... How can I solve this error? Any help would be greatly appreciated!
Hadez
Tomcat 7.0.23
Fedora 16
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Welcome to the Ranch!
Shouldn't class userData a) be renamed to UserData, and b) implement Serializable?
Also,
martin brow wrote:
Class user.userData is not a servlet, and should not be setup like one.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: The value for the useBean class attribute user.userData is invalid.
|
|
|