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
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
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
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
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
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
.
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
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