java bean file not found / cannot resolve symbol registerUser
:WAVE: :WAVE: hi everybody,
--------------------------------------------------------------------------
Brief intro.
I am a fresh new comer to devX forum, and yesterday I installed tomcat and wanted to try the power of java bean by implementing the code under JSP web developement platform. MY code is attached within the .zip file. This is just a simple program to get user's data username, password, and gender into the bean file, then when user click next the data value stored will be displayed on that particular page.
--------------------------------------------------------------------------
My key point of error:
<jsp:useBean id="user" class="registerUser" scope="session"/>
The error message are:
org.apache.jasper.JasperException: Unable to compile class for JSP
--------------------------------------------------------------------------
An error occurred at line: 1 in the jsp file: /login/action.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\login\action_jsp.java:42: cannot resolve symbol
symbol : class registerUser
location: class org.apache.jsp.action_jsp
registerUser user = null;
--------------------------------------------------------------------------
My platform for running JSP are :
Tomcat - C:\Program Files\Apache Group\Tomcat 4.1\
java - C:\j2sdk1.4.2_10
My system classpath are:
C:\Program Files\Java\j2re1.4.2_10\lib\ext\QTJava.zip;C:\Program Files\mysql\mysql-connector-java.jar;C:\j2sdk1.4.2_10\jre\lib\ext\mysql-connector-java-3.0.17-ga-bin.jar;C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\WEB-INF\classes;c:\java;
my java file compilation folder was located at C:\java
--------------------------------------------------------------------------
What happened to this code?? Can any kind helper assist to explain the root cause of this error, and if possible guide me throught this error??