You should URL encode the parameter values when you construct the URL. Have a look at java.net.URLEncoder.encode(String) in the API doc. This will also take care of the '=' symbols in the value for the 'rand' parameter.
Regards. > -----Original Message----- > From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] > Sent: 04 September 2002 11:42 > To: JDJList > Subject: [jdjlist] off:topic HTML encoding > > > Hi All, > > In my JSP I dynamically generate a hyperlink say: > 'vstatus.jsp?rand=wAnIVSMoAAA9dcu49TPn=Q&code=TRAN&staffno=920 > 12&trancode=T& > T&rid=2002-09-04' > > Pls note that the parameter trancode has T&T as its value. > > How can I encode the url so that my JSP page cannot see T as > a separate parameter. > > Thanks > > > To change your JDJList options, please visit: > http://www.sys-con.com/java/list.cfm > To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
