I see now I have a problem here, that file include is only implemented when tomcat
compiles the jsp.
> -----Original Message-----
> From: Luc Foisy
> Sent: Wednesday, January 08, 2003 1:54 PM
> To: JDJList
> Subject: [jdjlist] JSP Question
>
>
>
> I am trying to use <%@ include file="filename" %>
>
> I am sending to the page that has this with the line:
> response.sendRedirect("main.jsp?p="+applicationJar.getPageName());
>
> So in main.jsp I would like to include an external file to
> insert into a default page, something like:
>
> <SOME DEFAULT PAGE STUFF HERE>
> <%@ include file="filename" %>
> <SOME DEFAULT PAGE STUFF HERE>
>
> but I would like to replace "filename" with request.getParameter("p")
>
> Any one have any idea how to do this?
>
>
>
> ____________________________________________________
> To change your JDJList options, please visit:
> http://www.sys-con.com/java/list.cfm
>
> Be respectful! Clean up your posts before replying
> ____________________________________________________
>
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________