Craig & All,

The fragment below from Craig is a great clear answer - and it came out of
Craig's knowledge, AND James's knowledge and Micael's stubbornness -
altogether a good team effort. How about a beer and a group hug :)

Regards,
Phil



> I don't know anything specific about Flash, so this is a repeat of an
> answer to this question from someone else that got lost in 
> the shuffle.
> 
> Background Issue - Things inside /WEB-INF are visible to your 
> application
> (i.e. you can do request dispatcher include and forward calls 
> with them)
> but not to your client.
> 
> Therefore - *IF* the Flash client tries to do a second HTTP 
> request to get
> the referenced file, it will fail.  I suspect this is probably what
> happens, but really don't have a clue.
> 
> The same thing will happen in a non-Flash scenario if your JSP page
> "/WEB-INF/mypage.jsp" contains a relative reference to an image in the
> same directory:
> 
>   <img src="logo.gif">
> 
> The image retrieval (done by the browser as a separate HTTP 
> request) will
> fail, because the absolute URL will be something like:
> 
>   http://www.mycompany.com/myapp/WEB-INF/logo.gif
> 
> and the container will disallow direct client access to the
> context-relative path "/WEB-INF/logo.gif".
> 
> Craig

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to