How does one do a dynamic forward offsite, e.g.
http://www.somewhere.com/index.htm;, within the context of the struts
framework? This does not work with ActionForward, apparently, because the
forwards there have a context of the application root in the container. I
know how to do these with
The javadoc for ActionForward state you can use an absolute URI for the path
parameter. I've never tried it though.
-Original Message-
From: Micael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 3:47 PM
To: [EMAIL PROTECTED]
Subject: Dynamic Forwards Offsite
How
, February 20, 2003 3:47 PM
To: [EMAIL PROTECTED]
Subject: Dynamic Forwards Offsite
How does one do a dynamic forward offsite, e.g.
http://www.somewhere.com/index.htm;, within the context of the struts
framework? This does not work with ActionForward, apparently,
because the
forwards there have
Subject: RE: Dynamic Forwards Offsite
Thanks for responding, however, I try the following:
StringBuffer sb = new StringBuffer();
sb.append(http://www.somewhere.com/message;);
ActionForward forward = new ActionForward(sb.toString(), false);
return
:[EMAIL PROTECTED]]
Sent: 20 February 2003 21:30
To: Struts Users Mailing List
Subject: RE: Dynamic Forwards Offsite
Thanks for responding, however, I try the following:
StringBuffer sb = new StringBuffer();
sb.append(http://www.somewhere.com/message;);
ActionForward
Greetings:
I know there is much discussion of dynamic forwarding on this list.
My searching has not produced a definitive answer though.
In our project, for various reasons, we will by using javascript to make a
few decisions before a submit happens. The are several Action classes
that I
Hi all,
I am stuck up on how to achieve dynamic forwarding. Issue is in action
mappings of struts config file, a simple forward for an action appears as
forward name=display redirect=false path=/directory1/somepage.jsp /
But during my application flow, the page to display may end up
disabled, you should not rely on it.
--
gR
Please explain further and thank you very much for your patience.
Thanks
Lisa
From: Gregor Rayman [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: lisa ward [EMAIL PROTECTED]
Subject: Re: dynamic forwards
Date: Wed, 26
[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: dynamic forwards
Date: Thu, 27 Sep 2001 09:27:10 +0200
lisa ward [EMAIL PROTECTED]
Hi again,
The values in your hash map have been hardcoded in, which works fine.
But
what do I if I do not know what
lisa ward [EMAIL PROTECTED] wrote:
In your message you said:
so you will know all paramaters in advance, since the checkboxes have been
submitted already.
But since Im using a html:link (forward) instead of a submit, at which point
do I initialize the selected checkbox values in my hash
Thanks,
I will try this, who knows maybe I have barking up the wrong tree and just
trying to be too smart.
From: Gregor Rayman [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: dynamic forwards
Date: Thu, 27 Sep 2001 12:29:44 +0200
lisa ward [EMAIL PROTECTED
-
Margaret
-Original Message-
From: lisa ward [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 12:52 PM
To: [EMAIL PROTECTED]
Subject: dynamic forwards
Hi all,
I am having the exact same problem as Chiji, so I have just copied and
pasted a bulk of his email (Sorry Chiji) . Im
of that bean clearly could change between
invocations, thus giving you dynamic parameters...
Hope this helps -
Margaret
-Original Message-
From: lisa ward [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 12:52 PM
To: [EMAIL PROTECTED]
Subject: dynamic forwards
Hi all,
I
lisa ward [EMAIL PROTECTED] wrote:
Another quick question. How would I be able to initialize the hashMap. the
problem Im facing is that when I use a forward the submit is not called so
the values are not initialized in my bean.
Here an quick and dirty example. (Dirty beacuse it uses
that the user has selected.
Or am I just missing the point here?
Please explain further and thank you very much for your patience.
Thanks
Lisa
From: Gregor Rayman [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: lisa ward [EMAIL PROTECTED]
Subject: Re: dynamic forwards
Date: Wed
Thanks alot for the multibox answer, it worked fine.
I have another problem plaguing me at the moment. I have a JSP application on which you can perform a certain search. Because I dont know how many search results will be returned I have to make sure that I have page numbers, dynamically
16 matches
Mail list logo