tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Woodings" <>
Subject Re: can iframe include files in web-inf folder?
Date Fri, 09 Apr 2004 14:33:45 GMT
Do you run this through apache or other http server?

The reason that I ask is that the jsp file could have restricted access from
the outside world because it is in the WEB-INF folder.

As a pointer, I wouldn't put you want to be seen by the outside world under
the WEB-INF folder.  You need to keep this for config files, java files/jars
etc etc, because in the future you would want to block any http traffic from
seeing this.


----- Original Message ----- 
From: "bjyang_dream" <>
To: "tomcat-user" <>
Sent: Friday, April 09, 2004 9:20 AM
Subject: can iframe include files in web-inf folder?

> my jsp page information.jsp I do this:
>  <iframe width="100%" height="400" frameborder="1" scrolling="Auto"
>   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:
>   <c:import url="${HTMLUrl}"/>
>   <%jsp:include page="information.jsp" %>
>   Here HTMLUrl comes from my Struts Action,and refer the URL in want to
import in
>   the iframe.
>   This time,I do get it worked and have HTMLUrl page in the iframe,The
>  is when the HTMLUrl has changed,The page in the iframe didn't changed at
>  same time.
>    I use <c:out value="${HTMLUrl}"/>,i can see this also changed.
>   Hoping someone to help me,Thank you very much!
>         dream_and_yang
>           2004-04-09
>         bjyang_dream
>           2004-04-09

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message