I've seen code like this before.
Why on earth do you use <%! %> declarations ??????
This is the best way to get debugging headaches because of concurrency
problems.

Why not just use

<% String myPage = request.getParamter("target"); %>
 <%@ include file="<%=myPage%>" %>

Geert 'Darling' Van Damme

> -----Original Message-----
>
> Solved it... here is my final code for anyone interested:
>
>             <%! String myPage; %>
>             <% myPage = request.getParamter("target"); %>   - target is
> "content/test.html"
>          <%@ include file="<%=myPage%>" %>
>
> the quotes are the key thing...
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to