s the "failure" forward have a 'redirect="true"' on it in
struts-config.xml? If it is doing a redirect, the errors saved in the
request scope will be gone when the client does it's redirect to the
"failure" page.
Regards,
David
-Original Message-
I am using struts 1.2.4 and im getting a strange problem when I try to
handle errors in my action class.
If i use the following:
saveErrors(request, myErrors);
return mapping.findForward("failure");
The errors dont get displayed in the error page, infact theyre not even
in my request object when
You're a legend! I didn't have an = sign between my errors.footer key
and value.
Thanks.
-Original Message-
From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
Sent: Friday, October 15, 2004 3:04 PM
To: Struts Users Mailing List
Subject: Re: Null after error message
Hi Toby,
> When I print
Hello,
When I print an error message using
The error message is correctly displayed (from my ApplicationResources
file) however after each error message, the word "null" appears. Why is
this?
When I create an action error I do it like this:
errors.add("myProperty", new ActionError("myPropert
PROTECTED]
Subject: Re: No ActionErrors from Action class
When you say 'redirected' do you mean 'redirected'? If so, that's the
problem. Redirecting creates a new request, and the errors are saved in
the request scope, so they would be gone.
I don't see anything
Hello,
I have been using struts 1.02 for a while now, but have only recently
got the html:errors tag working. I have come across the following
problem.
When I perform validation in my ActionForm class, and an error is
raised, this error is correctly displayed in the jsp by using
However, whe
Is there any way I can make URL's generated by struts, be absolute
including the protocol, hostname and port?
Thanks
***
This message is intended for the addressee named and
may contain confidential information. If you are not the
i
I have tomcat running on a server with an internal name of
http://webserver1
This is then mapped (im not sure how as this is not my area) to the
external URL:
http://maps.gov.au
However, when a struts action is invoked by a user on the external
website, the internal host name is resolved when
I have my action servlet mapped to 2 different url patterns (which are used for
filtering purposes elsewhere in my site). It seems the order of my servlet mappings
affects the action attribute of my form by appending of the suffix of the last mapping
to the end of the form's action.
As an exam
I have my action servlet mapped to 2 different url patterns (which are used for
filtering purposes elsewhere in my site). It seems the order of my servlet mappings
affects the action attribute of my by appending the suffix of the last
servlet mapping to the end of the form's action (usually the
10 matches
Mail list logo