Yes. Both LoginAction.java and LoginForm.java are in code package. Please
let me know if I have to send you the entire folder ? What you mean by this
"loaded within the Web Appilication." ???????????

On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Are you sure that the Form Bean class is loaded within the Web
App;lication.

Id teh package correct: code.LoginForm???

Thanks and regards,
Pazhanikanthan. P (Paz)

Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




"Tom Jerry" <[EMAIL PROTECTED]>
07/09/2006 04:02 PM
Please respond to "Struts Users Mailing List"

        To:     "Struts Users Mailing List" <user@struts.apache.org>
        cc:
        Subject:        Re: exception


There are no database operations. It is the simplest one. I am learning by
example.

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration
1.2//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>

<struts-config>
    <form-beans>
            <form-bean name="loginForm" type="code.LoginForm"/>
     </form-beans>

    <global-forwards>
        <forward name="mainmenu" path="/mainmenu.jsp"/>
    </global-forwards>

    <action-mappings>
            <action path="/login"
                type="code.LoginAction"
                name="loginForm"
                scope="session"
                input="/index.jsp">
            </action>
     </action-mappings>

    <controller
processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>

    <message-resources parameter="ApplicationResources" null="false"/>

    <plug-in className="org.apache.struts.tiles.TilesPlugin" >

      <!-- Path to XML definition file -->
      <set-property property="definitions-config"
                       value="/WEB-INF/tiles-defs.xml" />
      <!-- Set Module-awareness to true -->
      <set-property property="moduleAware" value="true" />
    </plug-in>


  <!-- =================================================== Validator
plugin
-->

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

</struts-config>

Please let me know if I have to zip and send the entire folder.

On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> Did you mention LoginForm in struts-config properly - I mean
> <form-beans>
>                 <!-- Login form bean -->
>                 <form-bean name="LoginForm" type="xyz.yxz...."/>
> </form-beans>
> And <action .......
>
>
> Pls share your struts-config.xml.
>
>
>
>
> -----Original Message-----
> From: Tom Jerry [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 07, 2006 9:51 AM
> To: Struts Users Mailing List
> Subject: Re: exception
>
> Error 500--Internal Server Error
>
> javax.servlet.jsp.JspException: Exception creating bean of class
> code.LoginForm: {1}
>         at
> org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)
>         at
> org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
>         at jsp_servlet.__index._jspService(__index.java:216)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
>         at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
> rvletStubImpl.java:996)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> java:419)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> java:463)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> java:315)
>         at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
> un(WebAppServletContext.java:6452)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
> bject.java:321)
>         at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
> )
>         at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
> etContext.java:3661)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
> java:2630)
>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
>
>
> On 9/6/06, David Friedman <[EMAIL PROTECTED]> wrote:
> >
> > What is the full stack trace in your application server logs?
> >
> > -----Original Message-----
> > From: Tom Jerry [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 06, 2006 12:48 PM
> > To: user@struts.apache.org
> > Subject: exception
> >
> >
> > Why do I get an "exception in creating bean" ????
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com


*********************************************************************************
Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege.  If you are not
the intended recipient you must not use, distribute or copy this
email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of AXA.   Thank you.

**********************************************************************************


Reply via email to