APAR status
Closed as program error.
Error description
Anchor tag looses its functionality with encodeURL
error: cannot find bean user in scope session
Affected versions of Websphere:
5.0.1
EX:
<%
out.println("<a href=\"");
out.println(response.encodeURL ("/link.jsp#C10"));
out.println("\">catalog</a>");
%>
is encoded as
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server developers *
* using URL Rewriting for session management. *
****************************************************************
* PROBLEM DESCRIPTION: Anchor tag (#) loses functionality *
* when URL Rewriting in session *
* management is enabled. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
When URL Rewriting is enabled, the URL will be encoded like
http://<hostname>:9090/test.jsp#C10;jsessionid=XXXXXXX:-1.
This will cause the #C10 being lost. It should be encoded as
http://<hostname>:9090/test.jsp;jsessionid=XXXXXXX:-1#C10.
Problem conclusion
To prevent the loss of anchor tag, change encoding to put
;jsessionid before the first occurrence of either "?" or "#".
Temporary fix
Apply PQ75742_Test.jar on top of WAS_Sessions_06-11-2003_5.0.1
-5.0.0_cumulative_Fix.
Official fix will be in the next session cumulative package.
Comments
APAR information |
APAR number |
PQ75742 |
Reported component name |
WAS NETWRK DEPL |
Reported component ID |
5630A3601 |
Reported release |
00I |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-06-27 |
Closed date |
2003-07-09 |
Last modified date |
2003-07-09 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|