This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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: 63552

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
jQuery in Action, 3rd edition