You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John Regan <Jr...@csatravelprotection.com> on 2001/12/11 16:03:50 UTC
RE: Please Help! Passing variables with the tag, how
do I do this?
Can someone answer this please, i'm stuck. thank you
-----Original Message-----
From: John Regan [mailto:Jregan@csatravelprotection.com]
Sent: Monday, December 10, 2001 1:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Passing variables with the <html:link> tag, how do I do
this?
has anybody answered this yet?
-----Original Message-----
From: antony@claire.co.jp [mailto:antony@claire.co.jp]
Sent: Sunday, December 09, 2001 8:39 PM
To: Struts Users Mailing List
Subject: Passing variables with the <html:link> tag, how do I do this?
Hi
I have a very simple question, I want pass a variable to a page, I have
<html:link forward="bbs" paramId="page" paramPropery="next"> -(1)
and want this to expand to
http://localhost:8180/testproject/bbs.do;jsessionid=EB98798BC986586989898798
78&page=next
-(2)
But (1) is not doing what I want it to do. How can I write a link like
(2) using the
<html:link>
tag?
Cheers
Tony
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
RE: Please Help! Passing variables with the tag, how do I do this?
Posted by Melanie Harris <ha...@yahoo.com>.
John do you need to use forward? This is what I'm
doing to pass parameters via a link, but uses href
instead of forward:
<strutshtml:link
href="editUser.do?operation=newUser">Create a New User
</strutshtml:link>
Then in my action class:
if ( request.getParameter("operation") != null) {
// do whatever
}
-mel h
--- John Regan <Jr...@csatravelprotection.com>
wrote:
> Can someone answer this please, i'm stuck. thank
> you
>
> -----Original Message-----
> From: John Regan
> [mailto:Jregan@csatravelprotection.com]
> Sent: Monday, December 10, 2001 1:13 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Passing variables with the <html:link>
> tag, how do I do
> this?
>
>
> has anybody answered this yet?
>
> -----Original Message-----
> From: antony@claire.co.jp
> [mailto:antony@claire.co.jp]
> Sent: Sunday, December 09, 2001 8:39 PM
> To: Struts Users Mailing List
> Subject: Passing variables with the <html:link> tag,
> how do I do this?
>
>
> Hi
>
> I have a very simple question, I want pass a
> variable to a page, I have
>
> <html:link forward="bbs" paramId="page"
> paramPropery="next"> -(1)
>
> and want this to expand to
>
>
http://localhost:8180/testproject/bbs.do;jsessionid=EB98798BC986586989898798
> 78&page=next
> -(2)
>
> But (1) is not doing what I want it to do. How can
> I write a link like
> (2) using the
>
> <html:link>
>
> tag?
>
> Cheers
>
> Tony
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Please Help! Passing variables with the tag, how do I do this?
Posted by Keith Bacon <ke...@yahoo.com>.
John,
Looks to me that what you have coded will do what you
want. Have you tried this & found it doesn't work?
Keith
--- John Regan <Jr...@csatravelprotection.com>
wrote:
> Can someone answer this please, i'm stuck. thank
> you
>
> -----Original Message-----
> From: John Regan
> [mailto:Jregan@csatravelprotection.com]
> Sent: Monday, December 10, 2001 1:13 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Passing variables with the <html:link>
> tag, how do I do
> this?
>
>
> has anybody answered this yet?
>
> -----Original Message-----
> From: antony@claire.co.jp
> [mailto:antony@claire.co.jp]
> Sent: Sunday, December 09, 2001 8:39 PM
> To: Struts Users Mailing List
> Subject: Passing variables with the <html:link> tag,
> how do I do this?
>
>
> Hi
>
> I have a very simple question, I want pass a
> variable to a page, I have
>
> <html:link forward="bbs" paramId="page"
> paramPropery="next"> -(1)
>
> and want this to expand to
>
>
http://localhost:8180/testproject/bbs.do;jsessionid=EB98798BC986586989898798
> 78&page=next
> -(2)
>
> But (1) is not doing what I want it to do. How can
> I write a link like
> (2) using the
>
> <html:link>
>
> tag?
>
> Cheers
>
> Tony
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>