[thelist] Problem with JRUN and Server Side Includes

David Appleton david.appleton at barnardos.org.uk
Mon Jun 17 03:56:06 CDT 2002


--
[ Picked text/plain from multipart/alternative ]
>I think they want to use the same template in both the SHTML and JSP pages.

Exactly! - I really don't want to be working off of 2 lots of templates.

>Somethng just occurred to me - JRUN converts normal SSIs into comments, and
>ignores them, right? What happens if you put the JSP code into the non JSP
>page? If its ignored, you could just have both in the template.

Well, I've just tested this and it seems to work ok on ie6.  I suppose it should work ok on other browsers as well as <% ... %> shouldn't be rendered in a SHTML page.  Just in case though, can anyone come up with a good reason why the following cannot be used in a single page (either JSP or SHTML)?

<!--#include virtual="/_includes/blank.inc" -->
<%@include file="/_includes/blank.inc" %>

Cheers
Dave.


______________________________________________________________________

Important Notice
This communication contains information, which is confidential.
It is intended solely for the use of the intended recipient/s.
If you are not the intended recipient/s please note that any distribution,
copying or use of this communication or the information in it is strictly
prohibited.  If you receive this communication in error please notify
postmaster at barnardos.org.uk and then delete this e-mail and any copies of it.
Please note that this communication and any communication received by or on
behalf of Barnardo's or from or on behalf of anyone else from this e-mail
address may be monitored by our e-mail or other monitoring software, or
inspected by us.  This communication is from Barnardo's, a company limited
by guarantee, registered office: Tanners Lane, Barkingside, Ilford, Essex,
IG6 1QG, reg. no. 61625 England, charity reg. no. 216250.
    ______________________________________________________________

To find out more about Barnardo's or to make a donation visit our web site
at http://www.barnardos.org.uk.
______________________________________________________________________




More information about the thelist mailing list