You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Don Najd <dn...@leemak.com> on 2002/10/17 00:49:45 UTC

tag - multiple query string params

<html:link page="page.jsp">Tasks</html:link>

in a tag like this on.. how can I add the equvilent of:

<a
href="page.jsp?day=<%=Calendar.DAY_OF_MONTH%>&month=<%=Calendar.MONTH%>">Tas
ks</a>

the <html:link/> tag wont let me embed <%=statments%> like the anchor tag
does?

Thanks,

Don


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tag - multiple query string params

Posted by Developer <de...@fdplus.com>.
Try this:

<html:link href='<%="page.jsp?day=" + Calendar.DAY_OF_MONTH + "&month=" +
Calendar.MONTH %>'>
    Tasks
</html:link>

you may have to change the &month to &amp; month.


----- Original Message -----
From: "Don Najd" <dn...@leemak.com>
To: <st...@jakarta.apache.org>
Sent: Wednesday, October 16, 2002 6:49 PM
Subject: <html:link/> tag - multiple query string params


> <html:link page="page.jsp">Tasks</html:link>
>
> in a tag like this on.. how can I add the equvilent of:
>
> <a
>
href="page.jsp?day=<%=Calendar.DAY_OF_MONTH%>&month=<%=Calendar.MONTH%>">Tas
> ks</a>
>
> the <html:link/> tag wont let me embed <%=statments%> like the anchor tag
> does?
>
> Thanks,
>
> Don
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>