File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Jsp tag - forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Jsp tag - forward

Nitin Singla

Joined: Oct 05, 2011
Posts: 15

Hi .

Apologies for my previous post.

Below is my code snippet:

String chgLocURL ="/jsp/welcome.jsp";

<jsp:forward page="{<%=chgLocURL %> }"/>

It is not working.
Please help me how can i use this string. I just need to forward to the path stored in string chgLocURL from my current jsp in my application.
Please help with the code snippet.
Once again apologies for my previous post.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Please do not split a question across multiple topics. Please continue this question in your original post.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Jsp tag - forward
It's not a secret anymore!