struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shabbir Khadir Mohammed" <shabbir.moham...@wipro.com>
Subject RE: form action doubt
Date Thu, 19 Dec 2002 06:43:49 GMT
Hi 
MAKE SURE THAT THE action mapping & from bean are mentioned in struts-config.xml file
As below:

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

<!-- ========== Form Bean Definitions =================================== -->
  <form-beans>

    <!-- Logon form bean -->
    <form-bean      name="logonForm"
                   type="METION WHICH "ACTION FROM BEAN" U WANT TO INVOKE"/>
  </form-beans>
!-- ========== Action Mapping Definitions ============================== -->
  <action-mappings>
<!-- Process a screenLabelType -->
    <action    path="/screenLabelType"
               type="METION WHICH "ACTION BEAN" U WANT TO INVOKE">
      <forward name="success"              path="/METIONESOMEJSPFILE HERE"/>
    </action>
 </action-mappings>
***************************************************************************


Let me know the result.....!!!

Regards
Shabbir



-----Original Message-----
From: Mohammed_Rafeeq@Satyam.com [mailto:Mohammed_Rafeeq@Satyam.com]
Sent: Thursday, December 19, 2002 11:20 AM
To: struts-user@jakarta.apache.org
Subject: form action doubt


hi  all,

 i've used   <html:form action="/screenLabelType"> in my jsp when i try to
execute  the jsp i get the exception
 
"org.apache.jasper.JasperException: Cannot find ActionMappings or
ActionFormBeans collection"
 
-[Mohammed_Rafeeq] 
 
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

Mime
View raw message