accountsList is a local variable in your ActionClass.
At the end of the action, you should store it in an attribute under one
of the available scope to make it available to your target page.
So add something like
request.setAttribute("accountsList", accountsList);
at the end of your action.
This w
You need to have a value for the input attribute on your action mapping
definition for your newUser action.
When enabling validation, what struts does is that if validation fails,
it does not give control to your action class but directly forwards to
the target defined by the input attribute.
So y
I actually have implemented a hack to do this in one former project.
It was a wizard like application and the last jsp page presented a
summary view. When the user accepted, the content of the page was send
to him/her via e-mail.
So the following bits of code work but I think it's really a hack, it
What about session=false on your jsp page directive? Would this help?
Eric.
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael E. Allen
> Sent: Thursday, January 22, 2004 10:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Help URL Rewriting
>
> Ted Husted wrote:
> The advantage of hidden parameter is that the hidden parameters will
be
> auto populated in the formBean.
>
> And there is one openSource implementation for the workFlow situation
as
> mentioned in my previous mail.
>
>
>
>
> -Original Message-
> From:
Just one trick/hack I used in the past for such a situation.
Instead of having a bunch of hidden parameters to hold the values, I
marshall my form bean(s) or some other value object containing the
information I want to keep to an XML format. I then put that XML into
one hidden field.
I have a gener
You should use a subclass of DynaActionForm and implement reset() in
this one, just calling initialize() should be ok.
Extract from struts source code javadoc:
* The default implementation (since Struts 1.1) does nothing.
* Subclasses may override this method to reset bean properties to
* defau
It is required because the jsp starts executing and generating output in
its buffer until it encounters the error.
If the buffer gets full before the error, the server flushes it, the
content gets send down the HTTP pipe and there is no way to "undo" that
afterwards when the error occurs.
So the r
does not know which file to read then by
default
> it reads AppXX_de.props file.as _de.props comes before _en.props
(in
> alphabatical order after de we get en)
>
> thanks
> srinivas
>
> Eric Bariaux <[EMAIL PROTECTED]> wrote:
> Do you have a "default" xxx.properti
Do you have a "default" xxx.properties file, one without _en?
This would explain why setting the browser the en gives you the correct
result and setting "nothing" or de gives you the incorrect strings.
Eric.
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Tuesda
No you don't always need the name of the form.
If you're 100% sure you always have one form, something like
document.forms[0].submit should work fine.
> -Original Message-
> From: Leticia Golubov [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 19, 2004 5:36 PM
> To: Struts Users Mailing
11 matches
Mail list logo