DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-05 Thread bugzilla
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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED




--- Additional Comments From [EMAIL PROTECTED]  2005-05-05 10:06 ---
Thank you for the reponse- I forget to check the Servlet standard about the 
sessionid usage.
And our customer requires fully HTML 4.01 strict compatible result pages.


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



DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-04 Thread bugzilla
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=551432listid=16191+491612345/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]



DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-04 Thread bugzilla
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


[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.2.6 Beta  |Unknown




--- Additional Comments From [EMAIL PROTECTED]  2005-05-04 15:33 ---
What servlet container is this problem occuring on?

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



DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-04 Thread bugzilla
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 15:50 ---
(In reply to comment #3)
 What servlet container is this problem occuring on?

I uses Bea weblogic 8.1 sp3.
But IMHO the New Atlanta SevletExec is configurable for this mode.
It is possible that the Resin too.

For other examples pelase see: http://www.google.com/search?hl=enlr=q=%22%
26jsessionid%3D%22+parameterbtnG=Search

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



DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-04 Thread bugzilla
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 20:36 ---
OK I did some googling myself and found the following...

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg84489.html
http://www.caucho.com/support/resin-interest/0101/0428.html
http://www.caucho.com/support/resin-interest/0307/0161.html
http://archives.java.sun.com/cgi-bin/wa?A2=ind0001L=jsp-interestP=R52835

...all of which say that according to the servlet specification URL re-writing 
must use a path parameter, not a request parameter. What you're asking for is 
for struts to cater for the situation where the servlet container doesn't 
comply with this. As a general rule we don't change Struts to cater for other 
software which is *broken* and I think this should be closed as WONTFIX.

I also found a note in the Struts's weblogic 5.1 configuration page which seems 
relevant:

http://struts.apache.org/userGuide/installation-wls5.html

In the Addtional Recommendations section it says There are additional 
problems related to URL-based sessions, caused from BEA's way to encode the 
session id (J2EE-incompatible) as query-param.

However, according to these docs this should be fixed from 6.0 onwards...

http://e-docs.bea.com/wls/docs61/faq/plugin.html#252497

...so I don't understand why you're experiencing this problem?

Niall

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



DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-04 Thread bugzilla
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 20:42 ---
+1 to WONTFIX due to a noncompliant container.


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



DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-04 Thread bugzilla
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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-05-05 00:23 ---
Closing as WONTFIX.

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



DO NOT REPLY [Bug 33355] - computeURLWithCharEncoding doesn't encodes the created by the response.encudeURL call

2005-05-03 Thread bugzilla
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 01:52 ---
Firstly, could you provide more information - 1) the servlet container you are 
using and 2) the circumstances you are using the TagUtils's 
computeURLWithCharEncoding() method - is it using the Struts tags? Whatever the 
circumstances please provide actual usage examples.

Secondly, I tried out the struts-examples and all the links on that page worked 
fine with url encoding - using Tomcat 5.0.27. Could you try out the html:link 
tags example page and see if you have any problems with the urls generated on 
that page?

I also modified one of the links to the following...
html:link action=/html-link-submit%3Flistid=1
which created a href=/struts-examples/exercise/html-link-submit%
3Flistid=1.do;jsessionid=x

Tomcat didn't recoginse the encoded ? (i.e. %3F) you are using - so maybe 
thats the source of your problem.

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