i agree too

http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#link

-----Original Message-----
From: Noah Levitt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 6 June 2002 2:15 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [EMAIL PROTECTED]


As far as I can tell, all the attributes of html:link that
access beans are for manipulating the query parameters.
Please correct me if I'm wrong.


On Thu, Jun 06, 2002 at 12:11:12AM -0400, James Mitchell wrote:
> Sure, just add a field to your bean (the one you specified for this jsp in
> the struts-config.xml) called someURL with getSomeURL() and
> setSomeURL(String url), then
> change your html:link tag to:
> <html:link property="someURL">
> click me
> </html:link>
> 
> anyway, this might not be exact, but you get this idea
> 
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://struts-atlanta.open-tools.org
> ICQ: 27651409
> AOLIM: jmitchtx (and NO I don't use AOL;)
> 
> 
> > -----Original Message-----
> > From: Noah Levitt [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 05, 2002 8:49 PM
> > To: [EMAIL PROTECTED]
> > Subject: [EMAIL PROTECTED]
> >
> >
> > Hello struts-user,
> >
> > I would like html:link to retrieve a url (forward, href, or
> > page, whatever) from a bean. That is, I want to do the
> > equivalent of
> >
> > <html:link href="<%= request.getParameter("someURL") %>">
> > click me
> > </html:link>
> >
> > without the ugliness. Can it be done?
> >
> > Noah
> >
> >

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to