Do you mean the docroot of the domain?
It is illegal for a file or virtual to point to anything outside the war
file.
One may like to bundle those files in the war file.
Regards,
Shing Wai Chan
Hu Zhang wrote:
> Hi,
>
> Thank you for your reply. I changed "file" to "virtual", but
> still got the same response. How can I access the file from the root
> folder? Thanks.
>
> Sincerely,
>
> On Wed, Aug 5, 2009 at 3:11 PM, Shing Wai Chan <Shing-Wai.Chan_at_sun.com
> <mailto:Shing-Wai.Chan_at_sun.com>> wrote:
>
> You may like to check the following:
> 1. the ssi servlet mapping is for "shtm"
> 2. check whether the file "/inc/header.html" really exist as a doc
> relative to document path?
> I think you may like to use "virtual" rather than "file"
> attribute in this case.
> Regards,
> Shing Wai Chan
>
> Hu Zhang wrote:
>
> Hi,
>
> Yes, it is "shtm", not "shtml". There's nothing in the
> server.log, but on the webpage, at the include part, there's a
> line reads "an error occurred while processing this directive".
>
> On Tue, Aug 4, 2009 at 4:41 PM, Shing Wai Chan
> <Shing-Wai.Chan_at_sun.com <mailto:Shing-Wai.Chan_at_sun.com>
> <mailto:Shing-Wai.Chan_at_sun.com
> <mailto:Shing-Wai.Chan_at_sun.com>>> wrote:
>
> Hu Zhang wrote:
>
> I used <!--#include file="/inc/header.shtm" --> in my
> website,
> but it says "an error occurred while processing this
> directive". I have changed SSI in web.xml. Anyone knows the
> reason for this? Thanks.
>
> Is it "shtml" rather than "shtm"?
> What error message do you in server.log?
> Shing Wai Chan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
> <mailto:users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>>
>
> For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>
> <mailto:users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>
>
>