[ProgSoc] how to pass a value from xsl to jsp

bangdao hu bangdao.hu at gmail.com
Thu May 12 10:22:38 EST 2011


Hi, all. Anybody knows how to pass a variable from xsl to jsp?
In my case, I have a bunch of links. And every time you click a link, it
will redirect you to a jsp file, and also pass a variable  which I can use
later on.

what I wrote was like this:

<xsl:variable name="param" select="aUrl"/>
<a href="a.jsp?url={$param}">click me</a>


But it isnt working. It redirect to "a.jsp?url="
Any ideas? Thanks.

Best regards

Bangdao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://progsoc.org/pipermail/progsoc/attachments/20110512/47c1ef2f/attachment-0001.html>


More information about the Progsoc mailing list