struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Bobba" <ramesh_bo...@paycycle.com>
Subject RE: ActionErrors configuration
Date Mon, 03 Nov 2003 21:28:12 GMT
Hi,

Turns out that even though the documentation says I should use
ActionErrors.add(String, ActionMessage), using (String, ActionError)
solved the problem! Any ideas why?

Ramesh.

-----Original Message-----
From: Mikael Eriksson - Swedish Connection [mailto:mikael@connection.se]

Sent: Monday, November 03, 2003 1:11 PM
To: Struts Users Mailing List
Subject: Re: ActionErrors configuration


You should have the name of the jsp with the form (or possible the
action that leads to the form page, with the .do extension) as the
input.
So your action would have input="/systemDetails.jsp"  if that is the
name of your jsp page.

Regards

At 13:10 2003-11-03 -0800, you wrote:
>Hi,
>
>
>
>I am trying to configure my app so that when some of the text fields
are
>not populated, I show errors and redisplay the same page. The
>configuration I have is:
>
>
>
>     <action path="/systemDetails"
>type="com.paycycle.profile.actions.SystemDetailsAction"
>name="systemDetailForm" scope="request" input="/systemDetails">
>
>             .
>
>     </action>
>
>
>
>When I try to run the app with this configuration and there are errors,
>I get:
>
>
>
>The requested resource (/profile/systemDetails) is not available.
>
>
>
>Can you help me out here?
>
>
>
>Thanks,
>
>
>
>Ramesh.



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




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


Mime
View raw message