As far as I know you do not need to use url-rewriting if you are dispatching it.
As those methods are deprecated in j2ee 1.4 you should use response.encodeRedirectURL() and response.encodeURL() instead.
response.encodeUrl() is used for encoding urls (refer page 236 of HFSJ)and encodeRedirectURL()is used when you wan't to redirect( You have to first encode it and then you have to redirect it) Purpose of encoding is to add jsessionid in it and to encode unsafe characters.
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
posted 13 years ago
Originally posted by Dilshan Edirisuriya: As far as I know you do not need to use url-rewriting if you are dispatching it.
Can anyone confirm that.
About the depricated function...I made a typo and was aware of it....