including a page outside webapp

2003-12-09 Thread Kumar, Sumit
Hi,

I want to include a html header in my jsp page. However that html is not
located in the same webapp. It is actually not located in any webapp but in
a different folder.  I tried using the following syntax but doesn't finds
the file.
[EMAIL PROTECTED] file=../../CustomerTemplates/common_bannerSection.html %  
Any comments?

Thanks
-sumit



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



Re: including a page outside webapp

2003-12-09 Thread Ron Andersen
Did you turn on SSI support??
 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssi-howto.html


Kumar, Sumit [EMAIL PROTECTED] wrote:
Hi,

I want to include a html header in my jsp page. However that html is not
located in the same webapp. It is actually not located in any webapp but in
a different folder. I tried using the following syntax but doesn't finds
the file.

Any comments?

Thanks
-sumit



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


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Re: including a page outside webapp

2003-12-09 Thread Marten Lehmann
Did you turn on SSI support??
An include-statement doesn't require SSI.

To Sumit: You're using a relative path to the file. Have you tried with 
an absolut path to make absolutely sure that's nothing wrong with 
permissions or base-paths the relative path relies on? Maybe some 
security-rules restrict access outside the current webapp. In this case 
(if you're using linux), try to add a symbolic link from your 
webapp-path to the file outside the webapp.

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