We are using JRUN's (proprietary for now) include system (check the
documentation). Easy to do. Instead of the includes you mentioned use:
<%@ vinclude=/an/Common/Header.inc %>
The include contains a full virtual path. You can use include instead of
vinclude for relative path. Check the JRUN documentation. There is a small
paragraph about it.
-----Original Message-----
From: A mailing list about Java Server Pages specification and
reference [mailto:[EMAIL PROTECTED]] On Behalf Of Kenneth Borinsky
Sent: Wednesday, April 28, 1999 6:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Include tag
Hello,
we are trying to figure out how to deal with JSP implementation of
<!--#include ... -->. We are reviewing JRUN, Sun Servlet Runner, and
several other engines. As far as we understand, JRun includes the
generated contents of include file if it was another .jsp
Our application requires ability to have a separate include file that
contains several scriplets with Java functions (as wrappers for
complicated JavaBeans) and variables. We would then need to include it
into other .jsp files. So far, our attempts did not produce positive
results.
In our opinion, this is a MUST HAVE feature. Any comments, suggestions?
Ken Borinsky
>-----Original Message-----
>From: Magnus Stenman [SMTP:[EMAIL PROTECTED]]
>Sent: Wednesday, April 28, 1999 10:30 AM
>To: [EMAIL PROTECTED]
>Subject: Re: ELSE tag
>
>On the <include> issue, seems like we've done a bad decision when including
>the rendered content (of whichever type it may be) into the output and not
>the source (the JSP spec is a moot point on this issue - how does the
>reference implementation act?). What are your opinions? People from JRun
>replied with propriety JRun syntax (<%@ vinclude ... %>) but didn't seem to
>make any effort to push it as something to include in the JSP spec which I
>think is sad. Having <!--# include ... --> include generated content (from
>whatever parser is tied to that resource) is also a valuable feature, but
>then again <!--# exec cgi ... --> handles that part - just a bit awkward
>syntax. Ideas/suggestions?
>
>/Magnus Stenman
>Orion WebServer - http://orion.evermind.net
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".