, i've
done it before... it is the basic idea]
-Original Message-
From: N.N.S.S Ravi Krishna [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:13 PM
To: 'struts users'
Subject: passing request parameter to mapping.findForward(alias)
Hi All,
how to send a parameter along
Hightower [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 12:20 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: passing request parameter to mapping.findForward(alias)
there are at least two ways
static parameter?
forward path=foo.jsp?foo=bar/
dynamic
Hi All,
how to send a parameter along with the forward alias name in mapping
.findForward(xyz).any help is appreciated
thanks in advance,
ravi
I thought I saw a solution for this somewhere but I cannot find it...
I have the following set up...
action-mappings
action path=/index parameter= unknown=true
forward=plantsec.mainmenu
forward name=success path=plantsec.mainmenu redirect=false /
/action
action path=/todo parameter=
At 4:11 PM -0400 2002/06/18, [EMAIL PROTECTED] wrote:
I thought I saw a solution for this somewhere but I cannot find it...
set the value of the parameter attribute, then use
mapping.getParameter() in the action.
It's not a dumb idea at all -- it's the kind of reusability that
Struts makes
The parameter that Joe is talking about is for the
action tag in your struts-config.xml.
Take a look at the Struts Console. It makes setting
all this stuff a breeeze.
http://www.jamesholmes.com/struts/
-james
[EMAIL PROTECTED]
--- Joe Germuska [EMAIL PROTECTED] wrote:
At 4:11 PM -0400
Doh!
I tried that with request.getParameter()
Duh - the difference is wonderfully obvious now!
Thanks
-Original Message-
From: Joe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:10 PM
To: struts-user
Subject: Re: Passing a parameter into an action from the action mapping
, June 18, 2002 4:18 PM
To: struts-user
Subject: Re: Passing a parameter into an action from the action mapping?
The parameter that Joe is talking about is for the
action tag in your struts-config.xml.
Take a look at the Struts Console. It makes setting
all this stuff a breeeze.
http
having it on more than one line... In my
development environment
(windows) there is no line feeds or anything
-Original Message-
From: jholmes612 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:18 PM
To: struts-user
Subject: Re: Passing a parameter into an action from
To: [EMAIL PROTECTED]
Subject: RE: Passing a parameter into an action from the action mapping?
Already there...
The only thing that I would love to see in struts console is if I view
source having it on more than one line... In my development environment
(windows) there is no line feeds
I installed 1.11 a few days before you released 1.12... Have not had
time to upgrade yet.
Thanks, I'll try it
-Original Message-
From: jholmes612 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:32 PM
To: struts-user
Subject: RE: Passing a parameter into an action from
PROTECTED]]
Sent: Tuesday, June 18, 2002 4:28 PM
To: [EMAIL PROTECTED]
Subject: RE: Passing a parameter into an action from the action
mapping?
Already there...
The only thing that I would love to see in struts console is if I view
source having it on more than one line... In my development
At 1:17 PM -0700 2002/06/18, James Holmes wrote:
The parameter that Joe is talking about is for the
action tag in your struts-config.xml.
Take a look at the Struts Console. It makes setting
all this stuff a breeeze.
http://www.jamesholmes.com/struts/
Well, gee, you can also take a look at
Hi,
I have the following definition
definition name=site.main.page path=/jsp/common/classicLayout.jsp
put name=title value=House Price System /
put name=body value=/jsp/main.jsp /
put name=menu value=/jsp/common/menu.jsp' /
/definition
I would like to
Maybe something like this?
put name=menu value=/jsp/common/menu.jsp?MeaningOfLife=42/
-Original Message-
From: Zeltser, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: Passing a parameter to tiles definition
Hi,
I have
I tried this one, didn't work. This technique is working with templates...
-Original Message-
From: Kanoza, Douglas (NCI) [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 3:56 PM
To: 'Struts Users Mailing List'
Subject: RE: Passing a parameter to tiles definition
Maybe
how would I have a list in struts with each item as a link to a uri (a
struts action) and a parameter to pass?
in jsp:
while (i items.length) {
%
a href=/showItem.jsp?id=%=items[i].getId()%item
%=items[i].getId()%/a
%
i++;
}
%
in struts:
?
This is how I do it. It uses a request list stored under the name
ListObject which is a Vector of objects. The link passed the payeeId
value of the object in the request parameter userId.
logic:iterate name=ListObject
id=PayeeBean
scope=request
are forwarding to. In this, my
ReviewInstructions Action Class will use:
int reviewID = request.getParameter(reviewID);
Hope this helps.
-- Larry
-Original Message-
From: Mike Dewhirst [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 11:53 AM
To: '[EMAIL PROTECTED]'
Subject: passing
it into the form
somewhere?
Thanks
-Original Message-
From: Scott Ryan [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2001 18:04
To: [EMAIL PROTECTED]
Subject: Re: passing a parameter
This is how I do it. It uses a request list stored under the name
ListObject which is a Vector of objects. The link
20 matches
Mail list logo