java bean file not found / cannot resolve symbol registerUser


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: java bean file not found / cannot resolve symbol registerUser

Threaded View

  1. #1
    Join Date
    May 2006
    Posts
    1

    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

  1. Java File Transfer
    By Vidya.N in forum Java
    Replies: 2
    Last Post: 08-11-2005, 03:19 PM
  2. java code for file uploading
    By supratimmaiti in forum Java
    Replies: 1
    Last Post: 07-09-2005, 12:09 AM
  3. File uploading / objFile.Write problem
    By Tomer Cagan in forum ASP.NET
    Replies: 1
    Last Post: 07-24-2001, 09:01 AM
  4. Replies: 0
    Last Post: 06-19-2001, 02:04 PM
  5. NullPointerException when reading text file
    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center