to fire, therefor half the page is not rendered
> correctly.
>
> My question is really is there any point of using redirectAction if you
> know
> that the action that triggered the redirect has actionErrors? Is it
> possible
> to have the actionErrors display on the redirectAction
return a result that uses redirectAction it causes the action I am
redirecting to not to fire, therefor half the page is not rendered
correctly.
My question is really is there any point of using redirectAction if you know
that the action that triggered the redirect has actionErrors? Is it possible
cucchi...@gmail.com]
> Sent: Tuesday, January 11, 2011 3:51 PM
> To: Struts Users Mailing List
> Subject: Re: RE: Ajax & ActionErrors
>
> When you talk about ajax do you mean dojo, json or what else?
> Could you be a little bit more accurate?
> Maurizio Cucchiara
>
> On J
When you talk about ajax do you mean dojo, json or what else?
Could you be a little bit more accurate?
Maurizio Cucchiara
On Jan 11, 2011 8:14 PM, "CRANFORD, CHRIS"
wrote:
No I am referring to Struts 2.1.8.1
> -Original Message-
> From: Frank W. Zammetti [mailto:fzli...@omnytex.com]
> S
No I am referring to Struts 2.1.8.1
> -Original Message-
> From: Frank W. Zammetti [mailto:fzli...@omnytex.com]
> Sent: Tuesday, January 11, 2011 1:04 PM
> To: Struts Users Mailing List
> Subject: Re: Ajax & ActionErrors
>
> On 1/11/2011 1:43 PM, CRANFORD, CHR
On 1/11/2011 1:43 PM, CRANFORD, CHRIS wrote:
Can someone explain how I can render my action errors when I use Ajax to
post a form to the server?
Assuming you're talking Struts 1... error are rendered via JSP custom
tags, so to make it work with AJAX, without hacking the framework, all
you need
Manuel Osorio Martinez
Enviado el: Monday, November 22, 2010 2:03 PM
Para: Struts Users Mailing List
Asunto: ActionErrors and ActionMessages not included in the result
generated by org.apache.struts2.json.JSONResult
Hello,
I'm trying to generate a json output with the JSONResult but the pr
Hello,
I'm trying to generate a json output with the JSONResult but the problem
is that actionMessages and actionErrors properties are not being
included.
I also tried to pass this parameter to the interceptor but it didn
Don't remember about 2.0, but it was done with DWR for sure.
On Fri, Aug 22, 2008 at 12:14 PM, Oleg Mikheev <[EMAIL PROTECTED]> wrote:
> Musachy Barroso wrote:
>>
>> I think I misunderstood your question, it does serializes the action
>> errors, but it doesn't show them on the page for you.
>
> Bu
Musachy Barroso wrote:
I think I misunderstood your question, it does serializes the action
errors, but it doesn't show them on the page for you.
But it doesn't serialize them in 2.0.x right?
I understand that 2.1 is very promising, but it is still in beta...
And since 2.1 doesn't display actio
I think I misunderstood your question, it does serializes the action
errors, but it doesn't show them on the page for you.
On Fri, Aug 22, 2008 at 11:32 AM, Oleg Mikheev <[EMAIL PROTECTED]> wrote:
> Hello
>
> To put it straight:
> do I understand it right that S2 AJAX validation doesn't
> take car
[2.1] No, it also serializes action errors:
http://struts.apache.org/2.x/docs/ajax-validation.html
musachy
On Fri, Aug 22, 2008 at 11:32 AM, Oleg Mikheev <[EMAIL PROTECTED]> wrote:
> Hello
>
> To put it straight:
> do I understand it right that S2 AJAX validation doesn't
> take care of action er
Hello
To put it straight:
do I understand it right that S2 AJAX validation doesn't
take care of action errors, only the field ones?
So that action errors are displayed only on submit.
Thanks
-
To unsubscribe, e-mail: [EMAIL PR
for displaytag to function correctly.
>
> 3-. The listX.jsp contains actionerror and actionmessage to provide feedback
> to the user.
>
>
>
>
> My mapping looks like:
>
>class="com.sag.optimizer.ui.web.action.datamodel.{1}Action" method="{2}&qu
; method="{2}">
webui.form{1}
webui.list{1}
${actionErrors}
${actionMessages}
[EMAIL PROTECTED]
type="tiles">webui.requestSucceed
m: "Chris Pratt" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, April 03, 2008 4:42 PM
Subject: Re: [DEV-IMPLICATIONS] Re: Actionerrors & the Store Interceptor
On Thu, Apr 3, 2008 at 1:03 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
Chris,
On Thu, Apr 3, 2008 at 1:03 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
> Chris,
>
> I'm familiar with the code, but the main problem is that there is a "paper
> wall" between the StoreInterceptor and the jsp tags, so that one does not
> know or rely on how the other works.
>
> As far as I'm aware t
truts Users Mailing List"
Sent: Thursday, April 03, 2008 7:31 AM
Subject: Re: Actionerrors & the Store Interceptor
On Wed, Apr 2, 2008 at 11:17 PM, Al Sutton <[EMAIL PROTECTED]> wrote:
Chris,
I've used the StoreInterceptor and my opinion is that it just isn't
flexibl
On Wed, Apr 2, 2008 at 11:17 PM, Al Sutton <[EMAIL PROTECTED]> wrote:
> Chris,
>
> I've used the StoreInterceptor and my opinion is that it just isn't
> flexible enough to use.
>
> To illustrate the point, consider try following;
>
> 1) You have a View Action which displays all of the data of a
ROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, April 02, 2008 10:55 PM
Subject: Re: Actionerrors & the Store Interceptor
Sorry Lucas, I'm still not seeing how that will help differentiate
between which result's need the messages collected and which don
Sorry Lucas, I'm still not seeing how that will help differentiate
between which result's need the messages collected and which don't?
And I have to agree with Laurie, that I don't understand the
difference between the store interceptor and what you're proposing.
(*Chris*)
On Wed, Apr 2, 2008 a
> Umm, that's what the Store Interceptor is.
Not exactly, you have to specify for which action store the messages,
and for which retrieve them back. There is no magic, everything hand
coded ;-)
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
Thanks Laurie, any ideas on the original problem?
(*Chris*)
On Wed, Apr 2, 2008 at 2:19 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Lukasz Lenart wrote:
>
> > Hi,
> >
> > I think the best solution is to develop two Interceptors, one will run
> > after action invocation and will store messages
Lukasz Lenart wrote:
Hi,
I think the best solution is to develop two Interceptors, one will run
after action invocation and will store messages in session or some
other objects from given request key. And second one, which will be
run before action invocation, that will retrieve such stored mess
Hi,
I think the best solution is to develop two Interceptors, one will run
after action invocation and will store messages in session or some
other objects from given request key. And second one, which will be
run before action invocation, that will retrieve such stored messages
from session and p
We're having a problem configuring the system and, since this seems
like a common problem, we're hoping someone has found a solution.
We have a bunch of actions that can't be run twice, so we're using the
redirect-action result type to make sure a refresh doesn't
accidentally resubmit the request.
Okay that actually works , I had some problem else where that
resulted in what I saw. So the solution to my original problem works
if anybody needs it.
On Jan 11, 2008, at 4:06 PM, Mufaddal Khumri wrote:
Apparently thats not working any pointers as to how i could get my
errors out manually
Apparently thats not working any pointers as to how i could get my
errors out manually:
In my action I am doing: this.addFieldError("email", "Please enter
the email address.")
and on my ftl: fieldErrors['key']?if_exists
This is not working out , what am I missing.
On Jan 11, 2008, at 3:38
Anyone who needs it:
You can access ${fieldErrors['your-field-name']}
-Mufaddal.
On Jan 11, 2008, at 2:53 PM, Mufaddal Khumri wrote:
I am using ftl templates for the view and want to have access to
the collection that has all the error messages in the view.
(<@s.actionerror/> just lists all
I am using ftl templates for the view and want to have access to the
collection that has all the error messages in the view.
(<@s.actionerror/> just lists all the error messages one after the
other.)
So, if i have a form like such:
Email:
First Name:
Last Nam
Hi, Richard Sayre
Thanks for ur reply.
I have been looking for a solution by myself but to find that there was none
to resolve it just change the configuration-file.
I have no experience in taking use of FreeMarker.
However,ur way may be just the only one.
I will just try and thanks for ur commen
For clarification the following line:
<#include "/${parameters.templateDir}/xhtml/validationarea.ftl" />
was added to the first line of form.ftl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
rrorLabels() since it does
not apply to what I am doing.
I think thats about everything. There might be one or 2 places you
have to change some code in the template. The big thing here is you
have to change the XHTML template. I'm not sure if the simple
template has erro
?
Your help is greatly appreciated.
Bhuwan.
M.Liang Liu wrote:
Hi,all:
I would like to add header and footer to the actionerrors so as to it can
display in the way my client like.
In Struts1.2,i can just put the following code in the properties file
Hey! I am having the same issue.
Have you found out a solution for it by any chance?
Your help is greatly appreciated.
Bhuwan.
M.Liang Liu wrote:
>
> Hi,all:
> I would like to add header and footer to the actionerrors so as to it can
> display in the way my client like.
> In
Hi,all:
I would like to add header and footer to the actionerrors so as to it can
display in the way my client like.
In Struts1.2,i can just put the following code in the properties file
(it's equivalent to a HTTP
Redirect).
Cheers,
Arnaud
-Message d'origine-
De: Arnaud Cogoluegnes [mailto:[EMAIL PROTECTED]
Envoyé: mercredi 18 juillet 2007 12:46
À: 'Struts Users Mailing List'
Objet: RE: How can I add ActionErrors when do the interceptor's
int
s,
Arnaud
-Message d'origine-
De : Arnaud Cogoluegnes [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 18 juillet 2007 12:46
À : 'Struts Users Mailing List'
Objet : RE: How can I add ActionErrors when do the interceptor's intercept()
method?
Perhaps your security interceptor c
i 18 juillet 2007 10:59
À : Struts Users Mailing List
Objet : Re: How can I add ActionErrors when do the interceptor's intercept()
method?
I tried many times,but there's no solutions then.
Any help could be greatly appreciated.
On 7/17/07, M.Liang Liu <[EMAIL PROTECTED]> wrote:
>
nal Message -
> From: "M.Liang Liu" <[EMAIL PROTECTED] >
> To:
> Sent: Tuesday, July 17, 2007 9:49 AM
> Subject: How can I add ActionErrors when do the interceptor's
> intercept()
> method?
>
>
> >
> > Hi,all
> > I've got a pr
"Username or password incorrect.");
}
Thanks,
Nuwan.
- Original Message -
From: "M.Liang Liu" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, July 17, 2007 9:49 AM
Subject: How can I add ActionErrors when do the interceptor's intercept()
method?
>
> Hi,all
> I&
ks,
Nuwan.
- Original Message -
From: "M.Liang Liu" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, July 17, 2007 9:49 AM
Subject: How can I add ActionErrors when do the interceptor's intercept()
method?
Hi,all
I've got a problem when I put my own interceptors in my app:
I
user);
if (isAuthenticated) {
return actionInvocation.invoke();
} else {
//how to add actionErrors here?
return Action.
2007/6/19, Jeff Amiel <[EMAIL PROTECTED]>:
Ya know...I cannot believe that people categorize the datepicker
'issue' as a 'big issue'.
when I loose several hours trying to make a, as you say, "small 'nice
to have' component", work, in a GA struts version, I call it a "big"
issue (and it's not ad
On 6/19/07, Guillaume Carré <[EMAIL PROTECTED]> wrote:
IMHO (with the broken datepicker tag that is being reworked for 2.1)
this is THE big "issue" with Struts 2.0.x. At least this is mine.
Ya know...I cannot believe that people categorize the datepicker
'issue' as a 'big issue'.
I mean...it'
to loose your actionmessages and/or
actionerrors or the values the user typed in the form fields.
There is no ideal solution yet to do this right! Apart from manually
coding your own flash scope filter or whatever brilliant idea you
could have.
What causes all my headaches with Struts2, is that when an ac
ubject: Re: [s2] Best method of passing ActionErrors through a redirect
You could forward rather than redirect.
Another option is to use "flash scope" which has been discussed on this list
previously. My understanding of this is that a filter manages a map on the
session and requests have
on [mailto:[EMAIL PROTECTED]
Sent: 22 May 2007 17:22
To: 'Struts Users Mailing List'
Subject: [s2] Best method of passing ActionErrors through a redirect
Simple question;
Is there any way to retain messages added with addActionError or
addActionMessage during a redirect?
More
4:21 PM
Subject: [s2] Best method of passing ActionErrors through a redirect
Simple question;
Is there any way to retain messages added with addActionError or
addActionMessage during a redirect?
More complex explanation of my setup;
ActionA gets data and has uses a jsp to display the data
iling List'
Subject: [s2] Best method of passing ActionErrors through a redirect
Simple question;
Is there any way to retain messages added with addActionError or
addActionMessage during a redirect?
More complex explanation of my setup;
ActionA gets data and has uses a jsp to displa
Simple question;
Is there any way to retain messages added with addActionError or
addActionMessage during a redirect?
More complex explanation of my setup;
ActionA gets data and has uses a jsp to display the data (using
my_jsp.jsp).
my_jsp.jsp has a comment field which submits data to A
Another important difference between ActionMessages and ActionErrors
has to do with how the Validation interceptor works.
If you add an ActionError in the 'validate' method (or before the
ValidationInterceptor get ahold of the request) of a ValidationAware
action, the intercepto
Harring Figueiredo wrote:
Here it goes, without testing. I think that the HTML generated is
slightly
different so that you
may apply different CSS style sheets to it.
Bingo. That is exactly the reason for the two. Direct from my style sheet:
span.actionMessage {
background-color: Lig
wrote:
actionMessages is for general messages, and actionErrors for
errors. . I don't think there are any implications.
regards
musachy
On 4/24/07, Zoran Avtarovski <[EMAIL PROTECTED]> wrote:
>
> A quick question on what the recommended method for displaying general
> me
actionMessages is for general messages, and actionErrors for
errors. . I don't think there are any implications.
regards
musachy
On 4/24/07, Zoran Avtarovski <[EMAIL PROTECTED]> wrote:
A quick question on what the recommended method for displaying general
messages when usi
A quick question on what the recommended method for displaying general
messages when using struts 2, actionMessages or actionErrors.
I had a look at the ValidationAware interface and there appears to be no
difference between the two.
The only difference I could see what that they are accessed by
Is there a way to associate an ActionError or ActionMessage with a
named key in Struts 2?
In struts 1 we can add ActionErrors / Messages with a named key. The
lines of code below add a new error with the key "login" to the action:
ActionMessages errors = new ActionMessages();
related to the client). So whatever the
>>> action outputs, it will be sent to the client and inserted inside the
>>> div. Use Firebug to see what is the return of the ajax call, plus make
>>> sure the jsp fragment has all the required taglib directives.
>>>
&g
o the client). So whatever the
action outputs, it will be sent to the client and inserted inside the
div. Use Firebug to see what is the return of the ajax call, plus make
sure the jsp fragment has all the required taglib directives.
regards
musachy
kedgecomb wrote:
I have been
lus make
> sure the jsp fragment has all the required taglib directives.
>
> regards
> musachy
>
> kedgecomb wrote:
>> I have been using the actionErrors and actionMessage features of Struts2
>> for
>> some time and they have worked well for providing user fee
has all the required taglib directives.
regards
musachy
kedgecomb wrote:
I have been using the actionErrors and actionMessage features of Struts2 for
some time and they have worked well for providing user feedback, (e.g.;
"Business Center deleted successfully", "User already exis
I have been using the actionErrors and actionMessage features of Struts2 for
some time and they have worked well for providing user feedback, (e.g.;
"Business Center deleted successfully", "User already exists with this ID",
etc.). I add the error or the message in the
Hi,
I'm using struts 1.2 version and currently held up in a minor issue but
I could not figure out what i'm missing.
In the code snippet below, From Action class I'm adding an ActionErrors
to display an Error message in the JSP. In JSP I've a message Tag with
correctly.
The
;ActionMessage"? The error don't validate the form and the message does? But
in this case where can I show the "ActionMessage"?
Thanks.
Sebastien
On 10/10/06, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> > From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> >
uot;?
Thanks.
Sebastien
On 10/10/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> But with Struts 2, I cannot find how to build these
> ActionErrors / ActionError...
ActionSupport exposes getFieldErrors for access to the field-speci
> From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> But with Struts 2, I cannot find how to build these
> ActionErrors / ActionError...
ActionSupport exposes getFieldErrors for access to the field-specific map of
errors (key: field name, value: *List* of String error msgs for that fiel
Hi,
I was using Struts 1.x before and I was used to generate ActionErrors (that
contains ActionError) from the errors returned by my 3rd party side (my own
framework to access DB). But with Struts 2, I cannot find how to build these
ActionErrors / ActionError... what are now the class to deal
Sanjeeb Patel wrote:
How do I get the "ActionErrors" object which have been saved in the
request.
http://struts.apache.org/struts-action/struts-core/apidocs/org/apache/struts/Globals.html
-Dave
-
To unsubscri
Hi,
How do I get the "ActionErrors" object which have been saved in the
request.
Here is the code below .. I have hard coded for the time being to populate
the "ActionErrors" object.
Once a page populates this "ActionErrors" object how do I get a reference o
Provide the following:
1. Action form code - complete
2. JSP snippet that you are using to print the messages
Alternatively postpone the validation till the action class. In the action
class check for user name and password and if there is a problem then set
the errors as:
ActionErrors
t;
> On 6/21/06, Medicherla Lakshmi wrote:
> >
> > Yes, i have validate="true" set in my struts-config.xml. Here's my code.
> >
> > public ActionErrors validate(ActionMapping mapping, HttpServletRequest
> > request) {
> > ActionErro
he HTML to be rendered properly,
ie
it will not escape those HTML characters.
~madhav
On 6/21/06, Medicherla Lakshmi wrote:
>
> Yes, i have validate="true" set in my struts-config.xml. Here's my code.
>
> public ActionErrors validate(ActionMapping mapping, HttpServle
quot;true" set in my struts-config.xml. Here's my code.
>
> public ActionErrors validate(ActionMapping mapping, HttpServletRequest
> request) {
> ActionErrors errors = new ActionErrors();
> if (getUsername() == null || getUsername().length() < 1) {
> errors.add("us
false"
to the bean:write tag. This will allow the HTML to be rendered properly, ie
it will not escape those HTML characters.
~madhav
On 6/21/06, Medicherla Lakshmi <[EMAIL PROTECTED]> wrote:
Yes, i have validate="true" set in my struts-config.xml. Here's my code.
Yes, i have validate="true" set in my struts-config.xml. Here's my code.
public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
ActionErrors errors = new ActionErrors();
if (getUsername() == null || getUsername
, June 21, 2006 12:19 AM
To: Struts Users Mailing List
Subject: Re: ActionErrors not being displayed in jsp
Hi,
Am not using validator.xml for validation. But just the Actionform
validate method to validate the username and password submitted without
values. I tried to use even ActionMess
and Regards,
MSV Lakshmi.
Pankaj Gupta <[EMAIL PROTECTED]> wrote:
Use ActionMessages in place of ActionErrors.
See:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
regards,
Pankaj
[EMAIL PROTECTED] wrote:
> Hi,
>
> public ActionErrors validate(ActionMappin
Use ActionMessages in place of ActionErrors.
See:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
regards,
Pankaj
[EMAIL PROTECTED] wrote:
Hi,
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest
Hi,
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
ActionErrors errors = new ActionErrors();
if ((username == null) || (username.length() == 0)) {
errors.add("use
HI,
Can anyone please explain me how to validate a login page using validate
method of actionform. Am not able to display the errors in my jsp page though
i wrote in my jsp. Please give any example of using
ActionErrors.
Thanks and Regards,
MSV Lakshmi
Philihp,
If you want to get accesses to the ActionErrors class "size()" method from a
JSP thru lets say JSTL. You will can extend the ActionErrors and makes the
method "getSize()". The access the ActionErrors class in the page my its
name (see http://struts.apache.org/
y through Struts and JSTL Tags to get a "count" of the
number of ActionMessages or ActionErrors?
I would like my to display messages in a numbered
bulleted list when there are more than one, but just display the one
outside of a list when there is only one.
Thanks,
Philihp
Hi Struts List,
Is there a way through Struts and JSTL Tags to get a "count" of the
number of ActionMessages or ActionErrors?
I would like my to display messages in a numbered
bulleted list when there are more than one, but just display the one
outside of a list when there is only on
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:54:43 PM:
> I am sorry but none of the links in it are working.
>
> Where else can I get more info on the same?
>
> Thanks.
hmm.. this link *is* working for me..?
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
Geeta
I am sorry but none of the links in it are working.
Where else can I get more info on the same?
Thanks.
From: [EMAIL PROTECTED]
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: saveErrors --- ActionErrors to ActionMessages
Date: Mon,
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:39:55 PM:
> I am having the below code now in my dispatch Action in one of the
methods
> in it.
>
>
> DynaValidatorForm frm = (DynaValidatorForm)form;
>
> ActionErrors errors = frm.validate( mapp
I am having the below code now in my dispatch Action in one of the methods
in it.
DynaValidatorForm frm = (DynaValidatorForm)form;
ActionErrors errors = frm.validate( mapping, request );
if ( errors != null && !errors.isEmpty() ) {
saveErrors(request
ng standard validation errors to messages so that they are added upder
org.apache.struts.action.ACTION_MESSAGE and are picked up by html:messages with
message="true"? 3. ValidatorForm.validate returns ActionErrors and is not
deprecated. I don't get it. Can someone enlighten me on that?
g standard validation errors to messages so that they
are added upder org.apache.struts.action.ACTION_MESSAGE and are picked up by
html:messages with message="true"? 3. ValidatorForm.validate returns
ActionErrors and is not deprecated. I don't get it. Can someone enlighten me on
that? I
validate() is a function of ValidatorForm
I have written some checking inside validate()
However validate returns ActionErrors.
However can I change it to ActionMessages
so that my checking inside in validate() still valid
when ActionErrors deprecates in the future?
And
Inside validate(),
The
Grzegorz Stasica wrote:
hi,
Basically I'd like to ask why I'm not able to access my messages stored
in action from jsp.
ActionMessages m=new ActionMessages();
m.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage("error.no_value"));
saveMessages(request,m);
in jsp I try this
value="${reques
hi,
Basically I'd like to ask why I'm not able to access my messages stored
in action from jsp.
ActionMessages m=new ActionMessages();
m.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage("error.no_value"));
saveMessages(request,m);
in jsp I try this
value="${requestScope['org.apache.struts
n front of each property)
So this is a typical piece of code:
ActionErrors errors = new ActionErrors();
errors.add("org.struts.action.ERROR",new ActionMessage("general.error");
//this shall be displayed on top
errors.add("invalidUser", newActionMessage("user.invali
http://www.onjava.com/pub/a/onjava/2003/07/30/jakartastruts.html?page=2
On 5/12/05, Néstor Boscán <[EMAIL PROTECTED]> wrote:
> Hi
>
> Does somebody know how I can get the ActionErrors object from the request???
>
> Regard
http://javaboutique.internet.com/tutorials/excep_struts/
A good article
Handling Messages, Errors and Exceptions in Struts 1.1
> Hi
>
> Does somebody know how I can get the ActionErrors
> object from the request???
>
> Regards,
&
lenty of other ways to accomplish this... but these
are the 2 I remember at the moment (I'm a bit rusty, I know...)
My 2 cents.
-Mensaje original-
De: Néstor Boscán [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 12 de mayo de 2005 17:28
Para: 'Struts Users Mailing List'
Asun
Hi Néstor,
You can do that with the following code:
ActionErrors errors = (ActionErrors) request.getAttribute(Globals.ERROR_KEY);
Aladin
> Hi
>
> Does somebody know how I can get the ActionErrors object from the
> request???
>
> Regards,
request.getAttribute(Globals.ERROR_KEY);
-Original Message-
From: Néstor Boscán [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 16:28
To: 'Struts Users Mailing List'
Subject: How to get the ActionErrors object from the request
Hi
Does somebody know how I can get the ActionErr
]
> Sent: 12 May 2005 16:28
> To: 'Struts Users Mailing List'
> Subject: How to get the ActionErrors object from the request
>
>
> Hi
>
> Does somebody know how I can get the ActionErrors object from
&
Hi
Does somebody know how I can get the ActionErrors object from the request???
Regards,
Néstor Boscán
1 - 100 of 167 matches
Mail list logo