Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

jsp:Tomcat useBean will not work

  • 26-11-2007 10:05pm
    #1
    Closed Accounts Posts: 192 ✭✭


    Hi,

    Everytime I try to run my file in Tomcat via localhost, I get the following error;

    org.apache.jasper.JasperException: /guestBookLogin.jsp(11,2) The value for the useBean class attribute com.deitel.jhtp6.jsp.beans.GuestBean is invalid.
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)

    Code :

    <jsp:useBean id = "guest" scope = "page"
    class = "com.deitel.jhtp6.jsp.beans.GuestBean" />
    <jsp:useBean id = "guestData" scope = "request"
    class = "com.deitel.jhtp6.jsp.beans.GuestDataBean" />

    Environments set; CLASSPATH: =.;C:\apache-tomcat-6.0.14\lib\servlet-api.jar;C:\apache-tomcat-6.0.14\lib\jsp-api.jar;C:\apache-tomcat-6.0.14\lib\el-api.jar;C:\Servlets+JSP;..;..\..

    Other jsp files work fine just not useBean,,

    Please help.

    Justin


Comments

  • Closed Accounts Posts: 192 ✭✭jtiernan


    Sorted... didnt realise I needed a WEB-INF folder as well :D


Advertisement