Hi,

I am using weblogic6.1 sp2 and have also implememted struts framework.
About the problem that i am facing, here goes:

I have the following two links in my jsp file
Link 1: Is implemented using the struts tlds
<html:link href="javascript:check_click()"><html:img 
src="/ModBoa/images/clear.gif" border="0"/></html:link>

Link 2: Is implemented using conventional html
<a href="javascript:check_click()"><img src="/ModBoa/images/clear.gif" 
border="0"></a>


These two links call the same javascript function ie. they point to the 
same functionality.

Now when i click on link 2, the javascript function is called as expected 
and the function is carried out.
However, if i had clicked on link 1 instead of clicking on link 2, i get a 
javascript error.

The error occurs because a jessionid is appended to the name of the 
javascript function.
So in effect, when i take my mouse over link 2, the browser status bar 
shows just the name of the javascript function.
But when i place my mouse over link 1, the browser status bar shows the 
jsession id appended to the name of the javascript function

And this is a problem that occurs that only whenever a new session is 
created (one of the many ways to create a new session is by opening a new 
browser instance).

Anyone has any clue to what i am talking about?

Thnx in advance.

Tarun Sainanee

Reply via email to