DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14173>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14173

<html:link> tag library adds ;jsessionid even if the url is 'javascript:...'.

           Summary: <html:link> tag library adds ;jsessionid even if the url
                    is 'javascript:...'.
           Product: Struts
           Version: 1.0 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I set 'url rewriting' option enable in WebSphere 4.0.3.
I modified 'AppServer/config/server-cfg.xml' to change the value 
of 'enableUrlRewriting' attribute by 'true'.

And I put a <html:link> tag like the following:

<html:link href="javascript:openPrefWindow()">Preference</html:link>

In this case, the <A> tag written to client browser is like the following:

<a href="javascript:openPrefWindow();jsessionid=0000XYZXYZXYZ:-">Preference</a>

I think the <html:link> tag library adds the jsessionid for all links.
I think if the href value starts with "javascript:", then it doesn't have to 
add the 'jsessionid'. The above result is making a javascript error.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to