Jsp:useBean cannot locate class name

I used the following code in my JSP page:
<jsp:useBean id="myBean" class="myBean"/>
<%= myBean.getNum() %>
Container error:
Unable to compile class for JSP.

Thank you all for the timely responses...
I tried 2 classes actually. One in an unnamed package which resided in /WEB-INF/classes/ and other in /WEB-INF/classes/packageClasses/. Both qualified names were not detected by the container. I'm confused as to whether the container follows a specific search algorithm when using the jsp:useBean which is not specified in the specification?

Similar Messages

  • Jsp:useBean no type with name

    On a jsp page, why is it displying:
    no type with this name could be found around
    <jsp:useBean..?
    Could any body help me out?

    Hi Tom
    There is a known limitation with Workshop where you would see those errors when the java classes (the types that error out) are part of you webproject itself.
    The classes get compiled and get moved into web-inf\classes folder and somehow IDE does not get to see this in its classpath.
    The workaround is to move those classes into a java project which will get compiled into a jar file that will be part of libraries (goes into APP-INF\lib).
    You should not see those errors after the workaround.
    This is a known limitation addressed via CR277571
    Thanks
    Vimala

  • JSP file cannot locate beans

    I created a JSP file that calls a bean, I placed the bean in Web-inf/classes folder (I manually created classes folder because the application server didn't create it, bug). The problem is that my JSP page cannot access the bean, even when I modify setEnv.cmd file. Please HELP!!

    I have the same problem:
    I try to get the Emp bean in examples\intro from weblogic 5.1 working on WL
    6 sp1: I take the jar file and deploy it in console (either as EJB or as
    Application), and my JSP page EmpQuery.jsp miserably fails since it can't
    get to the bean classes.
    When I extract all the *.class files from the jar in the
    config\examples\serverclasses
    it works like a charm.
    BUT this defeats the idea of bean deployment !
    How can I make it work ?
    Should I modify the CLASSPATH as well ? Isn't the deployment supposed to do
    that automatically for me ?
    "Jean" <[email protected]> wrote in message
    news:3affe733$[email protected]..
    I created a JSP file that calls a bean, I placed the bean inWeb-inf/classes folder (I manually created classes folder because the
    application server didn't create it, bug). The problem is that my JSP page
    cannot access the bean, even when I modify setEnv.cmd file. Please HELP!!

  • Error jsp useBean  cant find class com.bloodoo.shoppingbasket

    I have an application which runs on my home Pc . It is a basic shopping cart app. I have Tomcat 4.1 and j2sdk1.4.2.
    When I transfered the application to Lunarpages my host , with the same folder structure I altered all the passwords and db connectors etc but when Itry to access the shop.jsp page I get the following error " useBean cant find class com.bloodoo.shoppingbasket " . I transferred the .java and .class files to Lunarpages.
    Do the .java files have to be compiled to .class files in the folder they wil be accessed ?
    If this is the case how are .java files compiled in a remote server?
    Any help very much appreciated .
    Thanks
    Jim Ascroft

    Hi there,
    I am using Tomcat on my home server and Lunarpages my web host uses Resin. I have not heard of resin and dont know if this would make any difference. All the folders and imports are ok on Tomcat at home and they are set up withy the same structure on Lunarpages.
    Any thoiughts ?
    Regards
    Jim Ascroft

  • How to assign the class value dynamically  in jsp:useBean ?its urgent

    Hi
    I want to set the class value of <jsp:useBean> dynamically
    when i am trying to this way
    <jsp:useBean id="<%=id %>" class="<%=beanclass %>" scope="request">
    <jsp:setProperty name="<%=id %>" property="*"/>
    </jsp:useBean>
    where beanclass is .class file that is to be used by the usebean tag
    i am getting following error
    The value for the useBean class attribute <%=beanclass %> is invalid.
    please help as soon as possible
    regards,
    Rameshwari

    You can not do that.The jsp:useBean and jsp:setProperty are action tags and not custom tags. Action tags get translated into Java code in the translation unit and are then compiled. Custom tag are backed by classes and the tag get translated into a method call of the class.

  • jsp:useBean error== The value for useBean class is invalid

    Can anybody tell me why am i getting the error for the JavaBean.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /SimpleBean.jsp(9,0) The value for the useBean class attribute com.stardeveloper.bean.test.SimpleBean is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1272)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1178)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3426)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
    Apache Tomcat/6.0.20
    my jsp file is in path c:\tomcat6\webapps\dev\SimpleBean.jsp
    my JavaBean compiled class is in path
    c:\tomcat6\webapps\dev\WEB-INF\classes\com\stardeveloper\bean\test\SimpleBean.class
    and my SimpleBean java class declaration is
    package com.stardeveloper.bean.test;
    public class SimpleBean implements java.io.Serializable
    and my jsp page SimpleBean.jsp pages call to useBean is as follows
    <jsp:useBean id="simple" class="com.stardeveloper.bean.test.SimpleBean">
         <jsp:setProperty name="simple" property="name" value="Sujoy" />
         <jsp:setProperty name="simple" property="age" value="26" />
    </jsp:useBean>
    Please help me anybody.

    First, try restarting Tomcat :-)
    Main 3 reasons for "useBean class is invalid"
    - class must be in a package (ok)
    - class must be public, and have public constructor that takes no arguments (check)
    - class must be compiled, valid and on the classpath. Normally this means the WEB-INF/classes directory.
    From what you have told us, everything seems to check out.
    Try recompiling the .class file to ensure it is valid.
    Does your constructor do anything which might thrown an exception?
    Can you invoke it in scriptlet code without getting an exception?
    <%@ page import="com.stardeveloper.bean.test.SimpleBean" %>
    <% SimpleBean sb = new SimpleBean() %>Trying it in scriptlet code like this might give you a different error message that might help your diagnosis.
    cheers,
    evnafets

  • Type="Class"  in the jsp:useBean tag

    Hi every one
    I create a class named quiz containing four Strings question,answer1,answer2,answer3
    I initialize them in the constructor.
    I made four get methods ...getQuestion(), getAnswer1 ...and so on.
    I made the class implement the serializable interface.
    in the main i created an object of that class and stored it on a file with .ser extension and i do the following in the jsp page
    <jsp:useBean id="anyID" BeanName="name of the .ser file" type="className--i put the class name--"/>
    but he gives me classnotfoundexception for the classname in the type field.
    what can i do?
    thnx in advance.

    what can i do?Make sure that the class "quiz" is available to your web app.
    Should be under the web-inf/classes directory (in its package directory)
    Regarding your Quiz class:
    - It must be in a package
    - Also that it has a public noargs constructor:
    package myPackage
      public Quiz(){
       }This class file should be in web-inf/classes/myPackage/Quiz.class
    Hope this helps,
    evnafets

  • Jsp:useBean : Missing value of String classed bean with 'session' scope

    Hi!
    I'd like to ask some help.
    I have these two JSP pages:
    1.jsp<jsp:useBean id="str" class="java.lang.String" scope="session"/>
    <html>
    <body>
    <% str="hello"; %>
    <a href="2.jsp">click</a>
    </body>
    </html>
    2.jsp<jsp:useBean id="str" class="java.lang.String" scope="session"/>
    <html>
    <body>
    <%=str%>
    </body>
    </html>When I open 1.jsp in my browser, then click on the link, the result is "nothing" (empty string). Why does the bean lose its value on the way?
    I use a Tomcat 5.5.9 server.
    Any help will be highly appreciated.

    You have to think of several scopes when working with JSP. The first is the local scope: the method _jspService() where all the work of the JSP is done.  This acts as a normal method and is where all the sciptlet code goes.
    When you use jsp:useBean you are creating two references to a new String object. One in the local scope accessible through <%= str %> and the other in the session scope.
    When you do <% str = "hello"; %> you are changing the local str variable to reference the String "hello" (this is equivalant to doing <% str = new String("hello"); %>). Only the local reference is changed, not the second reference in session.
    If you want the change to take affect, then you will have to store the new value in session with the same name:
    <% session.setAttribute("str", str); %>

  • Calling an inner class in a jsp:usebean tag

    Hi everybody !
    Here's my problem : working in my project on multiple pages, I'm using inner classes/beans to limitate my '.java' files but I'm stuck when calling that 'inner-bean' in my jsp:usebean tag.
    First, I tried to declare in the class parameter : 'class="MyPrincipalBean.theInnerBean" but jsp returns me a 'not found' message.
    I tried an other issue with this :
    'class="MyPrincipalBean$theInnerBean" but I encountered a 'Attempt to use a bean type without a void constructor in jsp:useBean tag (JSP 1.1 specification, 2.13.1)'. Since I can't find that specification, I'm sending an SOS.
    Am I on the good way ? If somebody as encoutered that sort of problem, it would be very kind of you to help me.
    Thanks for your help !
    [email protected]

    Thanks for your help!
    I must recognize that my explainations weren't really precise.
    My principal bean owns a table of my inner-class type :
    public class FirstBean extends EntityBean {
    private SecondBean[] tabSB;
    public SecondBean[] getTabSB() {...}
    public void setTabSB(SecondBean[] p_tabSB) {...}
    public class SecondBean {...}
    So I can call a specific bean from the tab in my Servlet for another page.
    But I think I have the solution and I need your advise :
    I tried this :
    <jsp:useBean id="FirstBean" class="<...>.FirstBean" scope="session" />
    <jsp:useBean id="SecBean" beanName="<...>.FirstBean$SecondBean" type="<...>.FirstBean$SecondBean" scope="request" />
    And would you believe it ? It seems to work ! But I have to test this farther to be sure. What do you think of it ?

  • JSP page "cannot resolve symbol"

    Hi,
    I'm using j2sdk1.4.2_01 and tomcat-5.0.13. I'm developing within Eclipse 3.0.0 with the Tomcat plugin.
    In my project ("Agenda2") i only created one class ("Persona"), that is correctely compiled (%TOMCAT_HOME%\webapps\Agenda2\WEB-INF\src\Persona.java results in %TOMCAT_HOME%\webapps\Agenda2\WEB-INF\classes\Persona.class, and 0 problems are shown in the Problems list.
    In %TOMCAT_HOME%\webapps\Agenda2 i have my Edit.jsp, that begins with these lines:
    <%@ page language="java" contentType="text/html" %>
    <HTML>
    <HEAD>
    <TITLE>Edit</TITLE>
    </HEAD>
    <BODY>
    <jsp:useBean id="personaAtt" class="Persona">
        <jsp:setProperty name="personaAtt" property="*" />
    </jsp:useBean>
    ....When i call the JSP from the browser, i get this error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 8 in the jsp file: /Edit.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    C:\Programmi\Java\tomcat-5.0.13\webapps\Agenda2\work\org\apache\jsp\Edit_jsp.java:48: cannot resolve symbol
    symbol  : class Persona
    location: class org.apache.jsp.Edit_jsp
          Persona personaAtt = null;
          ^The error message mentions line 8, which is the one following <BODY>, that is
    <jsp:useBean id="personaAtt" class="Persona">My impression is that there is some path problem, but despite my tries i can't get it.
    The folders tree under %TOMCAT_HOME%\webapps\Agenda2\ is:
    -WEB-INF
    --classes
    --lib
    --src
    -work
    --org
    ---apache
    ----jspDoes anybody can see the problem ?

    Thanks! I'm going to try to put the class into a package as both you have suggested, and i'll post here the result.
    In the meantime i have a related newbie question:
    putting the class into a package, is this kind of a workaround, or it's the "normal thing" ?
    I mean, is it mandatory to put classes into a package in order to import them from JSP pages ?
    It was my understanding that it isn't mandatory, but - from your replies and many other posts in this forum - i'm starting to think that i'm wrong.

  • JSP:useBean in Tomcat with external libraries

    Hi!
    I would like to use netbeans 4.1 for developing jsp-pages, but are facing a problem when trying to use the built-in jsp compiler.
    in my code I use something like:
    <jsp:useBean id="id" class="package.Classname" scope="application" />while package is an external package initially created from JAXB. To include it into netbeans, I have put the directory containing all the classes into the build libraries and also into the test libraries. In the 'Projects'-Explorer it shows all the classes contained.
    When I try to run the jsp-File, I get an error like this:
    Compiling 1 source file to C:\Develop\ApplicationDescriptionGenerator\build\generated\classes
    C:\Develop\ApplicationDescriptionGenerator\build\generated\src\org\apache\jsp\general_jsp.java:48: cannot find symbol
    symbol: class Classname
    location packageI do not understand this behaviour, especially, as the 'web' folder created by netbeans includes all necessary classes, and when I copy it to my tomcat installation, it works fine.
    Does anybody know, what I have to change, so that I can test it from inside netbeans?
    Thanks a lot!

    Here is the java program or bean class that I'm using, UserData.java compiled into UserData.class:
    public class UserData {
    String username;
    String email;
    int age;
    public void setUsername( String value )
    username = value;
    public void setEmail( String value )
    email = value;
    public void setAge( int value )
    age = value;
    public String getUsername() { return username; }
    public String getEmail() { return email; }
    public int getAge() { return age; }
    To put the data into the session, I used the following form:
    <HTML>
    <BODY>
    <FORM METHOD=POST ACTION="SaveName.jsp">
    What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
    What's your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
    What's your age? <INPUT TYPE=TEXT NAME=age SIZE=4>
    <P><INPUT TYPE=SUBMIT>
    </FORM>
    </BODY>
    </HTML>
    and SaveName.jsp is this:
    <jsp:useBean id="user" class="UserData" scope="session"/>
    <jsp:setProperty name="user" property="*"/>
    <HTML>
    <BODY>
    Continue
    </BODY>
    </HTML>

  • Jsp:useBean   in a session

    I'm going through a JSP tutorial and I've gotten to the Beans and Form Processing section. I'm having the Form submit a jsp page(SaveName.jsp), within this jsp the first line has problems
    <jsp:useBean id="user" class="UserData" scope="session"/>
    Looks like the "user" is not getting created into the session. I've compiled the UserData.java program and put the UserData.class file in the proper classes folder that is in my ClassPath.
    Does anyone see anything that I'm missing here, or I can provide more info too.
    Thanks,
    KLWatter
    HTTP Status 500 -
    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: /SaveName.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\SaveName_jsp.java:42: cannot resolve symbol
    symbol : class UserData
    location: class org.apache.jsp.SaveName_jsp
    UserData user = null;
    ^
    An error occurred at line: 1 in the jsp file: /SaveName.jsp
    Generated servlet error:
    C:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\SaveName_jsp.java:44: cannot resolve symbol
    symbol : class UserData
    location: class org.apache.jsp.SaveName_jsp
    user = (UserData) jspxpage_context.getAttribute("user", PageContext.SESSION_SCOPE);
    ^
    An error occurred at line: 1 in the jsp file: /SaveName.jsp
    Generated servlet error:
    C:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\SaveName_jsp.java:46: cannot resolve symbol
    symbol : class UserData
    location: class org.apache.jsp.SaveName_jsp
    user = new UserData();
    ^
    3 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    Here is the java program or bean class that I'm using, UserData.java compiled into UserData.class:
    public class UserData {
    String username;
    String email;
    int age;
    public void setUsername( String value )
    username = value;
    public void setEmail( String value )
    email = value;
    public void setAge( int value )
    age = value;
    public String getUsername() { return username; }
    public String getEmail() { return email; }
    public int getAge() { return age; }
    To put the data into the session, I used the following form:
    <HTML>
    <BODY>
    <FORM METHOD=POST ACTION="SaveName.jsp">
    What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
    What's your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
    What's your age? <INPUT TYPE=TEXT NAME=age SIZE=4>
    <P><INPUT TYPE=SUBMIT>
    </FORM>
    </BODY>
    </HTML>
    and SaveName.jsp is this:
    <jsp:useBean id="user" class="UserData" scope="session"/>
    <jsp:setProperty name="user" property="*"/>
    <HTML>
    <BODY>
    Continue
    </BODY>
    </HTML>

  • Jsp:useBean  not work when I install aplication!!

    Hi
    I developing an application with UIX JSP on Jdeveloper 9.0.2 and i using something like this:
    <jsp:useBean id="cbean" class="oracle.jsp.dbutil.ConnBean" scope="session" />
    <jsp:setProperty name="cbean" property="dataSource" value="jdbc/BiblosConnectionCoreDS" />
    </jsp:useBean>
    <%
    try{
    cbean.connect();
    This code work fine in standalone mode, but when i install this application on 9IAS, with an archive War, the code <jsp:useBean, not work.
    What is missing for? o What is the reason for this situation
    Thanks for some help?

    many thanks for your reply, and I have download new updates driver from your website (http://consumersupport.lenovo.com/en/DriversDownloads/drivers_show_890.html) and Installer it on my Y410 but it still does not work!!!
    the firstly: when I star up with win7, I can see a speaker icon right down near the clock, when I click mouse on it, I can see: Volume Mixer - Speaker with Device(Speaker Hight definition Audio Device, Digital Audio(S/PDIF) ( Hight definition Audio Device) ).
    Look in devicemanger I can see "Sound , video and game controll " has already installer with 'Hight definition Audio Device ' & 'Unimodem Hafl-Duplex Audio Device' below... but I cannot hear the sound when I play music, video, games...etc...
    the second: when laptop wakeup after 'sleep' mode, I can hear sound on speaker! but headphone jack does not work when I plug my headphone jack into it (I cannot hear sound with headphone), however I still hear sound from speaker, in this case!  
    Can you help me or tell me how I can do ?!
    Thanks and Best Regards,
    jupitervn

  • Cannot locate DB driver?????

    I have put the database driver folder org inside of the folder containing the JSP file
    package com.wrox.databases;
    import java.sql.*;
    import java.util.*;
    * Books.java
    * Created on 09 February 2003, 13:39
    * @author Harvey
    public class Books {
    String error;
    Connection con;
    /** Creates a new instance of Books */
    public Books() {
    public void connect() throws ClassNotFoundException, SQLException, Exception {
         try {
              Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    System.out.println("JDBC driver loaded");
    con = DriverManager.getConnection("jdbc:mysql://localhost/bookshop?user=");
    } catch (ClassNotFoundException cnfe) {
    error = "ClassNotFound: Could not locate DB driver.";
    throw new ClassNotFoundException(error);
    } catch (SQLException cnfe) {
    error = "SQLException: Could not connect to database";
    throw new SQLException(error);
    } catch (Exception e) {
    error = "Exception: An unknown error occurred wile connecting " + "to database.";
    throw new Exception(error);
    public void disconnect() throws SQLException {
    try {
    if ( con != null ) {
    con.close();
    } catch (SQLException sqle) {
    error = ("SQLException: Unable to close the database connection.");
    throw new SQLException(error);
    public ResultSet viewBooks() throws SQLException, Exception {
         ResultSet rs = null;
         try {
              String queryString = ("SELECT * FROM Book;");
    Statement stmt = con.createStatement();
    rs = stmt.executeQuery(queryString);
    } catch (SQLException sqle) {
    error = "SQLException:Could not execute the query.";
    throw new SQLException(error);
    return rs;
    //public static void main (String [] args){
    //     System.out.println("Hello");     
    I just want to display a simple view page
    <%@ page language="java" import="java.sql.*, java.io.*, java.util.*, com.wrox.databases.*"%>
    <jsp:useBean id="book" class ="com.wrox.databases.Books" />
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Buy Now Bookshop</title>
    </head>
    <body>
         <h1> Buy Now Bookshop </h1>
         <h2> View Books </h2>
         <b>Add More Books</b>
         <form action="delete.jsp" method="post">
              <table border="1">
              <tr>
              <td><b>ID:</b></td>
              <td><b>Title:</b></td>
              <td><b>Price:</b></td>
              </tr>
         <%
              book.connect();
              ResultSet rs = book.viewBooks();
              while (rs.next()) {
         %>          
    <tr>
    <td>
         <input type="checkbox" name="pkey"
              value="<%=rs.getString("Title_ID")%>"/>
              </td>
              <td><%= rs.getString("Title") %> </td>
              <td><%= rs.getString("Price") %> </td>
              </tr>
         <%
         %>
    </table>
    Check books for deletion.<BR>
    <input type="submit" value="Delete All Checked Books">
    </form>
    <% book.disconnect(); %>
    </body>
    </html>
    Can anyone help please????

    Please check it.
    http://forum.java.sun.com/thread.jsp?forum=45&thread=356467&tstart=0&trange=30
    Hope it helps.
    Hafizur Rahman
    SCJP

  • Weblogic 6.1 JSP useBean problem

    I've got at Servlet that redirects to a JSP. Within the JSP i call the
              following
              <jsp:useBean id="statsObj" class="SCStatsCommand"
              scope="request"></jsp:useBean>
              My problem is that when the JSP is called, I get the following error:
              cannot resolve symbol
              symbol : class SCStatsCommand
              location: class jsp_servlet.__scstats
              SCStatsCommand statsObj = null; //[ /SCStats.jsp; Line: 9]
              As far as I can see this means that SCStatsCommand can't be found. The thing
              is I've put both SCStatsCommand.class and SCStatsCommand.java in
              WEB-INF\classes\ . I've also included the searchpath in the CLASSPATH. Any
              idea what I might be doing wrong ?
              //Linus Nikander
              

    I've got at Servlet that redirects to a JSP. Within the JSP i call the
              following
              <jsp:useBean id="statsObj" class="SCStatsCommand"
              scope="request"></jsp:useBean>
              My problem is that when the JSP is called, I get the following error:
              cannot resolve symbol
              symbol : class SCStatsCommand
              location: class jsp_servlet.__scstats
              SCStatsCommand statsObj = null; //[ /SCStats.jsp; Line: 9]
              As far as I can see this means that SCStatsCommand can't be found. The thing
              is I've put both SCStatsCommand.class and SCStatsCommand.java in
              WEB-INF\classes\ . I've also included the searchpath in the CLASSPATH. Any
              idea what I might be doing wrong ?
              //Linus Nikander
              

Maybe you are looking for