can iframe include files in web-info folder

2004-04-09 Thread dream_and_yang
1.in my jsp page information.jsp I do this: but when the Tomcat 5.0 just tell me that such page is not available. 2.Then i try another way. i created another page called import page,in this page: <%jsp:include page="information.jsp" %> Here HTMLUrl comes from my Struts Action,and refe

can iframe include files in web-info folder

2004-04-09 Thread dream_and_yang
1.in my jsp page information.jsp I do this: but when the Tomcat 5.0 just tell me that such page is not available. 2.Then i try another way. i created another page called import page,in this page: <%jsp:include page="information.jsp" %> Here HTMLUrl comes from my Struts Action,and refe

Re: can iframe include files in web-info folder

2004-04-09 Thread Richard Yee
No, an iframe cannot access resources under WEB-INF. Note that 'WEB-INF' is case-sensitive. You will eventually encounter problems if you don't use 'WEB-INF' in your paths. Files located under the WEB-INF directory are only accessible from within the web application (ie. from servlets). Regards,

Re: can iframe include files in web-info folder

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 16:19, dream_and_yang wrote: No, you can't include such files directly, as the container forbids direct access to anything underneath WEB-INF. But of course, you can always wrap test.jsp in a ForwardAction and set your tag to load that instead: HTH, -- Chris > 1.in my j