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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33355





------- Additional Comments From [EMAIL PROTECTED]  2005-05-04 09:53 -------
My examples was wrong.There is a good sample:
JSP code:

<html:link action="/protected/CustomerDetailsAction" paramId="listid" 
paramName="element" paramProperty="id">
generated code:
<a href="/mpi-ui/cad/protected/CustomerDetailsAction.do?
JSESSIONID=551432&listid=16191">+4916000012345</a>

And this bug depends on the used the Servlet Container too. It is Only occurred 
if the conteiner uses the '&' character to separate the jsessionid. Your result 
will be wrong to if you change the separator from ";" to "&".
Because the encodeURL doesn't knows that PCDATA encoding have to be used in the 
result string- it generates encode free url. After it have to be convert it to 
the target context encoding (in this case this encoding is the PCDATA)
Therefore it seems to bea container problem. but it isn't a container problem. 
The second true solution is:
1; First call the encodeURL on the base url if needed
2; immediately convert the result to PCDATA,
3; add others parameters with &amp; like in the current code.
4; remove the encodeURL call from the enc of method...





-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to