Michael Jouravlev ha scritto:
On 7/20/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
A cookie cannot be put into path by definition of a cookie ;-)
Automatically modifying redirect location may be undesirable, if
redirect is used to control the growth of browser session history list
by keep URL
On 7/20/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Jakub Milkiewicz ha scritto:
> I really like Refirect after post patterny by Jouravlev where author
> promotes saving submitted data in temporary storage (for example session)
> and then use redirect to output action adding some kind of iden
Jakub Milkiewicz ha scritto:
I really like Refirect after post patterny by Jouravlev where author
promotes saving submitted data in temporary storage (for example session)
and then use redirect to output action adding some kind of identifier to
data preivously saved in temporary storage.
This w
This is a valid technique. I want to comment on the user experience
aspect of it.
Say, that "/application.do" displays a form that a user has to fill
out. He makes a mistake and you have to redisplay the form by calling
"/application.do". Will the query paramter be the same? If not, then
"/applic
Hi
I think storing these kind of date in a session is not great idea...
I really like Refirect after post patterny by Jouravlev where author
promotes saving submitted data in temporary storage (for example session)
and then use redirect to output action adding some kind of identifier to
data preiv
I just found I can use ActionRedirect which solves all my problems:
It allows me to redirect and add query string parameters!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 4:46 PM
To: user@struts.apache.org
Subject: RE: Struts forward
Felix-
IIOC, a forward forwards the original request, hence, why you are able to
see the attributes you set whereas a redirect sends a new request which
means you lose the attributes.
I think this question was posted previously in the last week or so, so check
the list archives for then.
-Adam
Hi
If it is not still clear for you read:
http://organicveggie.wordpress.com/2006/01/24/struts-redirect-wparameters/
2006/7/20, Jakub Milkiewicz <[EMAIL PROTECTED]>:
Hi
It is quite easy thing...
If you forward, request object is passed to "new resource" and if you
redirect, server sends answer
Hi
It is quite easy thing...
If you forward, request object is passed to "new resource" and if you
redirect, server sends answer to browser to make a new request to new
resource.In a latter, your request object on which you set some attributes
is gone - "new resource" sees new request.
I hope that
Felix Khazin asked;
> Hi all,
>
> I have a quick question:
>
> My struts-config.xml has a forward line such as:
>
> In my controller if I set an attribute such as:
>
> Request.setAttribute("test", "test string");
> Return (mapping.findForward("show"));
>
> This works fine and I am able to use
10 matches
Mail list logo