-
java bean file not found / cannot resolve symbol registerUser
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??
Last edited by calverstine; 05-14-2006 at 07:11 AM.
Similar Threads
-
Replies: 2
Last Post: 08-11-2005, 03:19 PM
-
By supratimmaiti in forum Java
Replies: 1
Last Post: 07-09-2005, 12:09 AM
-
By Tomer Cagan in forum ASP.NET
Replies: 1
Last Post: 07-24-2001, 09:01 AM
-
By vikas pandya in forum XML
Replies: 0
Last Post: 06-19-2001, 02:04 PM
-
By Andrew McLellan in forum Java
Replies: 3
Last Post: 05-09-2001, 05:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks