absolute URL path problem in jsp:forward ... tag
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   supritk_konda
Posted On:   Monday, November 29, 2004 06:48 AM

Hi,


I am trying to forward the page using absolute URL. The problem is it is appending the "/" infront of
http://xxx.com/test1.jsp i.e the url becomes /http://xxx.com/xyz/test1.jsp if use forward tag in jsp.

Why is that forward slash ("/") appending to the URL?
Please can any one know why I have this problem.
Here is the code I am using:


test.jsp:

****************










Thanks.

Re: absolute URL path problem in jsp:forward ... tag

Posted By:   Steven_Martin  
Posted On:   Monday, November 29, 2004 11:43 AM

JSP forward is only meant for JSPs/Servlets within your application. You should use





Note that you will lose the parameters unless you append them.
About | Sitemap | Contact