Hi everyone I am having trouble with a jsp when using a javascript variable in a '<html:link page=' tag. The variable does not seem expand to its value. When my jsp is compiled, the code snippet below
<bean:define id="procBranch" type="java.lang.String"
property="mendstatbrCde" name="APSB"/>
<html:link page="/BranchDetailPage.do?enquiryBranch=<%=procBranch%>">
<bean:write name="APSB" property="mendstatbrCde"/>
</html:link>
becomes
<a
href="/central/BranchDetailPage.do?enquiryBranch=<%=procBranch%>">2007<
/a>
instead of
<a
href="/central/BranchDetailPage.do?enquiryBranch=2007">2007<
/a>
assuming that mendstatbrCde is equal to 2007 for this example.
Does anyone know what I could do to get around this?
I'm using Struts 1.1 .
--
Stuart Logie
Programmer
UNIVERSAL COMPUTER SERVICES (PTY) LTD
A member of South Africa's largest retail software vendor, the UCS Group
Tel : (011) 712 1371 Cell : 082 902 5632
Fax : (011) 339 3421
Internet : http://ucs.co.za
"I am the Unconquerable Spirit."
-- Poet Unknown
Powered by Debian GNU/Linux - testing/unstable
pgp00000.pgp
Description: PGP signature

