"[Paco Belloso]" wrote:
>
> Health!
>
>   - What's wrong on this JSP piece?:
>
>      ...
>      ...
>     <%  if (condition)
>         { %>
>           <jsp:forward  page="<%=  request.getAttribute("variableName") %>"
> />

You must escape the double-quotes around the getAttribute() argument or use
single-quotes around the page attribute vale, otherwise the parser gets
confused:

  <jsp:forward  page="<%=  request.getAttribute(\"variableName\") %>" />

or

  <jsp:forward  page='<%=  request.getAttribute("variableName") %>' />

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to