David Wall typed the following on 09:08 AM 1/15/2001 -0800
>> if (session == null) {
>>   session = request.getSession(true);
>>   response.sendRedirect(response.encodeURL(....));
>>   return;
>> }
>
>Since this is a redirect, why aren't you using response.encodeRedirectURL()?
>Does it not work?  What is the difference anyway between those two?

In 4.x the implementation of these methods are identical. I haven't looked
at 3.2, but I'm not sure why there would be any difference, but of course
you're right, the proper method should be used just because you never know!
Some other server might have a good reason for doing it differently.

Kief


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

Reply via email to