Bookmark Topic Watch Topic
  • New Topic

Jsp tag - forward

 
Nitin Singla
Greenhorn
Posts: 15
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64958
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not split a question across multiple topics. Please continue this question in your original post.
    Bookmark Topic Watch Topic
  • New Topic