Hi,

Could anyone help me solve the following problem ?

In my JSP I am building html tags (along with some looping, etc). When ever
I start a new session, the first JSP has a hidden variable
GXHC_gx_session_id_geleinet set to some value (in this example
4a173535f64ecf0e). This session id gets appended to all <img src=...> and <a
href=...> tags.

Hence the following code is generated for a clickable image which calls a
javascript function submitPage() to validate and then submit the page.

<a
href="javascript:submitPage()?GXHC_gx_session_id_geleinet=4a173535f64ecf0e">
<img
src="/geleinet/images/go.gif?GXHC_gx_session_id_geleinet=4a173535f64ecf0e"
ALT="Go" border="0" width="49" height="30"></a>

But this results in a javascript error "  Expected ':'  "

Could anyone tell me how I can avoid the session id getting tagged to href
tags ???

Thanks in advance.
Darshan Khamkar.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to