Someone else had this problem -- essentially amounts to a ClassNotFoundException. Can you confirm the class really exists in a place accessible to the webapp, ie WEB-INF/classes/ISOTracking/SessionBean.class?

--David

Aynalem, Seblewengel (Trawick) wrote:

 I am getting the following error... Login.jsp is attached below.  I am using 
tomcat 5.5.17, jdk 1.5 & jre 1.5.

org.apache.jasper.JasperException: /ISOTracking/ISOTracking/Login.jsp(1,1) The 
value for the useBean class attribute ISOTracking.SessionBean is invalid.
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Login.jsp

<jsp:useBean id="sessionBean" scope="session" class="ISOTracking.SessionBean" />
<%
String onload = "";
if (sessionBean.getIncorrectLogin() || sessionBean.getDisplayError()) {
 onload = "alert('" + sessionBean.getLastError() + "');";
 sessionBean.errorDisplayed();
}
%>
<html>
<head>
<title>
Login
</title>
<LINK REL="stylesheet" TYPE="text/css" HREF="shared/ISOstyle.css">
</head>

<body onload="<%= onload %> if (document.mainform.username.value == '') 
document.mainform.username.focus(); else document.mainform.password.focus();">
 <table width="100%" height="100%">
   <tr>
     <td align="center" valign="bottom" height="60%">
       <form name="mainform" method="post" action="LoginAction.jsp">
       <table cellspacing="0" cellpadding="0"  height="10">
         <tr>
           <td>
             <table class="loginheader" cellpadding="0" cellspacing="0" 
width="100%">
               <tr>
                 <td>LOGIN</td>
               </tr>
             </table>
           </td>
         </tr>
         <tr>
           <td width="100%">
             <table class="loginbox" cellpadding="2" cellspacing="3" 
width="100%">
               <tr>
                 <td>
                   Username:
                 </td>
                 <td>
                   <input name="username" class="displaytablestylenoborder" value="<%= 
sessionBean.getUsername() %>">
                 </td>
               </tr>
               <tr>
                 <td>
                   Password:
                 </td>
                 <td>
                   <input type="password" class="displaytablestylenoborder" 
name="password">
                 </td>
               </tr>
               <tr>
                 <td colspan="2" align="right">
                   <input type="submit" name="Submit" value="Submit" 
class="displaytablestylenoborder">
                 </td>
               </tr>
             </table>
           </td>
         </tr>
       </table>
       </form>
     </td>
   </tr>
        <tr>
                <td align="center" valign="top">
                        &nbsp;
                </td>
        </tr>
 </table>

</body>
</html>


Any help or hint is highly appreciated.  Thanks a lot.

Seble.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to