>>>>> "Jeff" == Jeff Smith <[EMAIL PROTECTED]> writes:

    Jeff> I have some data in an XML file.
    Jeff> I read it in from JSP using <x:set> (the JSTL X tags)

    Jeff> I then transfered it to a variable like so:
    Jeff> <c:set var="somevarname">
    Jeff>     <x:out ... />
    Jeff> </c:set>

    Jeff> I can now dump it out happily using <c:out>

    Jeff> It turns out that this particular value (an integer) is useful in a
    Jeff> subsequent JSP page (if my user elects to go there by clicking the
    Jeff> appropriate link). So I want to pass it as a parameter when I link to that
    Jeff> next page.

    Jeff> Aha! the <html:link> allows me to add parameter information. But it appears
    Jeff> that such info must be in a bean.

Try using "<c:url>" and "<c:param>" to build up a url with parameters, then
reference the "${url}" variable from the "href" attribute of "<html:link>".

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP; SCWCD




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

Reply via email to