Re: JSP -- include-file directive question.. it gets weirder...
- From: Manish Pandit <pandit.manish@xxxxxxxxx>
- Date: Thu, 28 Jun 2007 21:43:58 -0700
On Jun 28, 2:37 pm, maya <maya778...@xxxxxxxxx> wrote:
maya wrote:
in a directive like this..
<%@ include file="inc_nav.jsp"%>
can included file be anything other than a JSP? since in project I'm
working on the included files contain only static content I made them
html's so I don't have to precompile the site every time I make a change
to them.. but I get cannnot-include error (before, they were JSP's; only
get error now that converted them to .html's..)
thank you..
it turns out html includes work fine in my localhost
(Weblogic/windows).. but once on the server (Weblogic/unix) it throws a
500 error; a developer here says to me I can't include html's in JSPs,
but in localhost html includes work fine.. go figure...
can someone shed some light here??
thank you..
Check if you're able to access those HTMLs directly on the Unix box
via HTTP (http://thathost/thatcontext/thatfile.html).
It could be that they have absolute paths (c:\bla\bla) causing Unix
setup to fail. What is the 500 exception trace? file not found?
-cheers,
Manish
.
- References:
- Prev by Date: Re: Initiating a class
- Next by Date: Re: Complete Java Preparation
- Previous by thread: Re: JSP -- include-file directive question.. it gets weirder...
- Next by thread: Initiating a class
- Index(es):