Hello,
I have a problem regarding use of JSP forward. I want to forward a request
to another JSP page, but only static page references works. I want to supply
an variable as the forward page.

This works fine:
====================================
    <jsp:forward page="index.jsp" />
====================================

This example generate an "404 page not found error":
====================================
    <%
         String url = "index.jsp";
    %>
    <jsp:forward page="<%=url%>" />
====================================

Those two examples should result in the same page as far as I understand.
(According to JavaServer Pages 1.1 Specification chapter 2.12.1 Request Time
Attribute Values)

Is this a bug, or am I missing something?

Tore Amundsen

Reply via email to