Rob
validation would be my first guess but I see you have that set to false
remember that you need to validate the form bean properties as needed and
anything in the request
then it finds the ActionForward
Are you able to access the JSPs defined in 'success' and 'failure'
independently
What does the logs say?
Martin-
----- Original Message -----
From: "Robbie Anonymous" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Sunday, May 29, 2005 3:01 AM
Subject: Action class defined in action-mappings not being executed -
without 2mb webapp source
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]