Re: can iframe include files in web-inf folder?

2004-04-09 Thread Matt Woodings
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

RE: can iframe include files in web-inf folder?

2004-04-09 Thread Shapira, Yoav
Hi, Per the servlet spec, a servlet container is not allowed to serve content under /WEB-INF to the browser. That's why your normal HTML links and references like src="/WEB-INF/xxx" fail. You can get around this (but you shouldn't) by streaming the content yourself using your

Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
streaming the content yourself using your own code, or in this case your Struts code. Couled more detials please? bjyang [EMAIL PROTECTED] 2004-04-10 Hi, Per the servlet spec, a servlet container is not allowed to serve

Re: Re: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
Thanks,Matt! I work with Tomcat 5.0 and I do need to access files in the Web-inf folder. Would you tell me,how can i manage to do that? Thank you again. 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

Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread Parsons Technical Services
it back to the client. As for code I have none at this point, but a little googling should turn up something. Doug - Original Message - From: bjyang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, April 10, 2004 12:00 AM Subject: Re: RE: can iframe include files

RE: RE: can iframe include files in web-inf folder?

2004-04-09 Thread Shapira, Yoav
Hi, streaming the content yourself using your own code, or in this case your Struts code. Couled more detials please? a href=WEB-INF/someFile.txtClick Here!/a would lead to a 404 if the user clicks on it as I previously explained. Now imagine a servlet: public class BadServlet extends

Re: Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
. Doug - Original Message - From: bjyang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, April 10, 2004 12:00 AM Subject: Re: RE: can iframe include files in web-inf folder? streaming the content yourself using your own code, or in this case your Struts code

Re: RE: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
haha,May be i have to persuade my boss the point you've illustrated enoughly Hi, streaming the content yourself using your own code, or in this case your Struts code. Couled more detials please? a href=WEB-INF/someFile.txtClick Here!/a would lead to a 404 if the user clicks on it as I