1 Reply Latest reply on Nov 5, 2004 1:16 PM by Lothar Egger

    JBoss 4.0 and Struts integartion failed

    Yogesh Shridhare Newbie

      I am using JBoss 4.0 alongwith Struts 1.1.

      My Struts App.ear works fine on JBoss 3.2.5 but when I try to deply it on 4.0 I get class com.company.struts.forms.LoginForm not found exception.

      Here is how my struts-config.xml looks like.
      I am trying to login using login.jsp which has the following action...
      <html:form action="/Login" focus="loginBean.userId" onsubmit="return CheckRequiredFields();" target="_blank">
      <html:hidden property="action" value="login"/>

       User Name
      <html:text property="loginBean.userId" size="15" maxlength="12"/>

        <html:password property="loginBean.password" size="15" maxlength="12" redisplay="false"/>

        <html:submit value="Sign In"/>

      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!DOCTYPE struts-config PUBLIC
      "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"

      <!-- Data Sources -->

      <!-- Form Beans -->
      <form-bean name="LoginForm" type="company.struts.forms.LoginForm" />


      <!-- Global Forwards -->


      <!-- Action Mappings -->


      <message-resources parameter="ApplicationResources" />

      <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
      <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validator.xml" />
      <!-- ========== Message Resources Definitions =========================== -->