----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
> when I try to compile, it says the response.encodeURL() is depreciated.
> is there any other alternative for this? or does this cause any problem?
If you're doing this with with JSDK 2.0 (which is what JServ supports),
you need to use encodeUrl(). If you are using JSDK 2.1 or later, encodeUrl
()
is deprecated in favor of encodeURL() (note uppercase).
>> BTW, I assume the URL you send to the client is not an .html URL,
>> but an
>> URL mapped to a servlet?
> What dou you mean with your assumption? the next url
> (".../IlkGiris.html"), should be a servlet? If so, can it be a jsp
> page?, because the site after login is developed with jsp (whole site)
> so we must make jsp pages work. Therefore I can replace the .html page
> with .jsp page but I cannot replace it with a servlet.
I assumed that since you are concerned with setting sessions, that the URL
you are accessing via showDocument() will refer to the session you created.
It can be either a .jsp or a servlet.
- Fernando
|--------+----------------------------------------->
| | "Deniz Demir" |
| | <[EMAIL PROTECTED]> |
| | Sent by: |
| | <[EMAIL PROTECTED]|
| | -dogs.com> |
| | |
| | |
| | 12/05/2000 04:11 AM |
| | Please respond to "Java Apache |
| | Users" |
| | |
|--------+----------------------------------------->
>------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED], [EMAIL PROTECTED]
|
| cc:
|
| Subject: One more question
|
>------------------------------------------------------------------------------------------------------------|
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
>
> That's not quite right. encodeURL() needs to be called on the servlet
> side, example:
>
> String myURL = "http://www.yfas.com.tr/IlkGiris.html";
>
> myURL = response.encodeURL( myURL );
when I try to compile, it says the response.encodeURL() is depreciated.
is there any other alternative for this? or does this cause any problem?
>
> BTW, I assume the URL you send to the client is not an .html URL,
> but an
> URL mapped to a servlet?
What dou you mean with your assumption? the next url
(".../IlkGiris.html"), should be a servlet? If so, can it be a jsp
page?, because the site after login is developed with jsp (whole site)
so we must make jsp pages work. Therefore I can replace the .html page
with .jsp page but I cannot replace it with a servlet.
Any idea about this?
>
> - Fernando
>
thanks a lot Fernando...
Deniz...
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]