include statement SHOULD work within a defined root context.
What this means is if your apache directory looked something like this:
<apache-home>/htdocs/<somewebsite>/file.html
And your webapp is deployed on Jrun with a context root of <somewebsite> but
does NOT contain the file.html file in the webapp, the mapping could be
choking on that setup.
Try deploying your webapp with the static components of your web site
included in the .war file or expanded war directory and see if that doesn�t
fix the problem.
The thing that you might want to remember is that Apache is for serving
static content. The minute a request is received for something dynamic like
.php or .jsp, it has to hand the request off to a module designed to do it,
and often the documents that need to be served can come from a completely
different directory than the defined apache web root. If you connected
Apache with Jrun correctly, then all Apache is doing is communicating
internally to the Jrun server and ignoring the contents of the defined web
root of apache when it receives a request for a .jsp or servlet.
Hope that helps.
On 7/8/04 9:20 AM, "Chris Boyce" <[EMAIL PROTECTED]> wrote:
> We've recently set up JRun 4 with Apache 2. Everything is mostly
> working, but we're having a problem using the jsp:include tag with html
> files. We're getting a "No mapping found" message in the jrun.err.log.
> If we switch the included file to a jsp, it is included without errors.
>
> I'm guessing there is a configuration issue some place, possibly in the
> apache conf file. Has anyone encountered this before? Any ideas would be
> greatly appreciated.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
