Hi all,

  I am facing a problem when using Javascript with <html:link>. Below is the
jsp code segment and the html that was generated. My problem is that the
jsessionid is being generated and this is messing up my webpage. I keep
getting javascript errors. Any help on an alternate suggestion would be very
helpful. thanks a lot.

cheers,
Amar..


jsp
----

        <html:link href='javascript:document.forms[0].submit();' 
        onfocus="(window.status='Login'); return true" 
        onblur="(window.status=''); return true" 
        onmouseover="(window.status='Login'); return true" 
        onmouseout="(window.status=''); return true" > 
        <html:image property="continue" page="/images/buttons/login.gif"
border="0" />
        </html:link>



generated html
------------------

<a
href="javascript:document.forms[0].submit();jsessionid=Oyd4xT7bZSkG5E1Rrzn2o
GBp8msmoA61TjZhE0B4KtmQi5xTux0C!3573658230560664082!-775347789!7001!7002"
onmouseover="(window.status='Login'); return true"
onmouseout="(window.status=''); return true" onblur="(window.status='');
return true" onfocus="(window.status='Login'); return true"><input
type="image" name="continue"
src="/OnBoard/images/buttons/login.gif;jsessionid=Oyd4xT7bZSkG5E1Rrzn2oGBp8m
smoA61TjZhE0B4KtmQi5xTux0C!3573658230560664082!-775347789!7001!7002"
border="0"></a>

Reply via email to