Power-Netz \(Schwarz\) <[EMAIL PROTECTED]>
Betreff: jsp:forward & encodeURL()
schrieb am 18.07.02:


>Hi,

>we found out that encodeURL() should not be used for URL for
><jsp:forward> calls with TC 3.3.x .
>It just does not work. I think the forward takes filenames instead of
>URLs, right?

Nearly. You should use:

- an address relative to the current page, or
- an absolute address, starting from the context root.

If you don't define any web-applications, your context root is just the  
document root.

To forward from http://myserver.de/myfolder/mycontent.jsp to http:// 
myserver.de/myfolder/newpage.jsp, use:

- newpage.jsp
- /myfolder/newpage.jsp

But you must not include the server name!


Gerd

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

Reply via email to