"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 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 own code, or in this case your Struts code.
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-----Original Message-----
>>From: bjyang_dream [mailto:[EMAIL PROTECTED]
>>Sent: Friday, April 09, 2004 10:21 AM
>>To: tomcat-user
>>Subject: can iframe include files in web-inf folder?
>>
>>1.in my jsp page information.jsp I do this:
>> <iframe width="100" height="400" frameborder="1" scrolling="Auto"
>>src="/web-inf/test.jsp">
>>  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
>>problem
>> is when the HTMLUrl has changed,The page in the iframe didn't changed at
>>the
>> same time.
>>   I use <c:out value="${HTMLUrl}"/>,i can see this also changed.
>>
>>  Hoping someone to help me,Thank you very much!
>>
>>
>>$B!!!!!!!!!!!!!!!!(Jdream_and_yang
>>$B!!!!!!!!!!!!!!!!([EMAIL PROTECTED]
>>$B!!!!!!!!!!!!!!!!!!!!(J2004-04-09
>>
>>
>>$B!!!!!!!!!!!!!!!!(Jbjyang_dream
>>$B!!!!!!!!!!!!!!!!([EMAIL PROTECTED]
>>$B!!!!!!!!!!!!!!!!!!!!(J2004-04-09
>
>
>
>This e-mail, including any attachments, is a confidential business communication, and 
>may contain information that is confidential, proprietary and/or privileged.  This 
>e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
>saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
>intended recipient, please immediately delete this e-mail from your computer system 
>and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

= = = = = = = = = = = = = = = = = = = =



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

Reply via email to