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:...'.





------- Additional Comments From [EMAIL PROTECTED]  2002-11-01 18:50 -------
I agree that it's apparent to add jsessionid to any URL by using
HttpServletResponse.encodeURL() method.
But web developers will have to meet strange javascript errors when they set a
javascript: URL to call a javascript function.
How about this? If the <html:link> tag library has another attribute which is
not required for this option.
For example,

  <html:link href="javascript:foo()" encodeURL="false">Foo</html:link>
  <html:link href="vbscript:bar()" encodeURL="false">Bar</html:link>

where encodeURL is true by default.

If so, it's very clear, and I think it has no overhead to check if href starts
with "javascript:".

--
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