RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread John Regan

Can someone answer this please, i'm stuck.  thank you

-Original Message-
From: John Regan [mailto:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
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
78page=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:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread Melanie Harris

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=newUserCreate a New User
/strutshtml:link

Then in my action class:

if ( request.getParameter(operation) != null) {
  // do whatever
}

-mel h

--- John  Regan [EMAIL PROTECTED]
wrote:
 Can someone answer this please, i'm stuck.  thank
 you
 
 -Original Message-
 From: John Regan
 [mailto:[EMAIL PROTECTED]]
 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: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 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
 78page=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:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
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:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread Keith Bacon

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 [EMAIL PROTECTED]
wrote:
 Can someone answer this please, i'm stuck.  thank
 you
 
 -Original Message-
 From: John Regan
 [mailto:[EMAIL PROTECTED]]
 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: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 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
 78page=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:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
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:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread John Regan

thanks for the response Keith.  i just put the parameter in the global
forward like the following:

 forward   
name=template  
path=/do/csa/dispatcher?forward=template/

thanks again.

-Original Message-
From: Keith Bacon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 7:15 AM
To: Struts Users Mailing List
Subject: RE: Please Help! Passing variables with the html:link tag,
how do I do this?


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 [EMAIL PROTECTED]
wrote:
 Can someone answer this please, i'm stuck.  thank
 you
 
 -Original Message-
 From: John Regan
 [mailto:[EMAIL PROTECTED]]
 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: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 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
 78page=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:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
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:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]