gwendal wrote:
> Thanks for helping I think I'll have the correct answer one day but not yet
> -------------------------------------------
> Carl McLanahan propose:
> <jsp:include page="<%= myObject.getDescriptionFile() %>" flush="true" />
>
> result : Error 500
> Trace result :
> com.sun.jsp.JspException: Invalid jsp:include tag
>
Does the getDescriptionFile() method return a String? It should.
Is the path that is calculated in getDescriptionFile() a context-relative URL that
starts with a slash? It should be, although the spec was recently loosened to accept
relative URLs with no slash. You would not get a compile error because of this, but
you'd probably get a 404 (not found) error at runtime.
The flush="true" stuff was added fairly late in the 1.0 spec process, and is required
by the JSWDK 1.0 final release (the error message will tell you it's required if you
leave it out). Try it without if you're running the early access version.
Craig McClanahan
===========================================================================
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