struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Anonymous" <robbie_listre...@lycos.com>
Subject Action class defined in action-mappings not being executed -
Date Sun, 29 May 2005 07:01:35 GMT
Hi,

The Action class defined in my action-mappings not being executed.
I know its not being executed as I made the execute window pop up a 
swing window on the server
and it did not.
When I click submit on contactUs.jsp, instead of an object 
com.devfirm.actions.AddContactUs being instantaniated and
having its execute() method called, nothing happens and I get sent 
to a blank page.
I have attatched the full code of my web app.

below is my struts-config.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>

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


<struts-config>
     <data-sources>
     </data-sources>

     <form-beans>
         <form-bean  name="contactUs"
                     type="com.devfirm.formbeans.ContactUs">
         </form-bean>
     </form-beans>

     <global-exceptions>
     </global-exceptions>

     <global-forwards>
     </global-forwards>

     <action-mappings>
         <action
             path="/addContactUs"
             type="com.devfirm.actions.AddContactUs"
             name="contactUs"
             validate="false"
             input="/contactUs.jsp">
             <forward
                 name="failure"
                 path="/contactUs.jsp"/>
             <forward
                 name="success"
                 path="/contactUs.jsp"/>
         </action>
     </action-mappings>

     <message-resources  parameter="ApplicationResources"/>
</struts-config>

Regards,
Robbie


-- 
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at once.
http://datingsearch.lycos.com


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message