[thelist] Problem with JRUN and Server Side Includes

David Appleton david.appleton at barnardos.org.uk
Fri Jun 14 11:00:01 CDT 2002


--
[ Picked text/plain from multipart/alternative ]
I don't really want to do that.

The problem here is that the includes are being used within templates which form the basis of the site.  For simplicity (and easy maintenance) these includes contain things like global navigation, footers and style sheets etc.  I want the JSP pages to work from the same templates as the rest of the site (which will be .html pages).  I'm using DreamWeaver templates for this so I don't want to be altering more templates than I have to.

The site doesn't contain a great amount of JSP pages, so I'd like to avoid naming every page .JSP (although that is an option I suppose).  Maybe I'm just being fussy, but I'm doing a complete redevelopment so I'm looking for it to be as streamline as possible.

Any more ideas would be very welcome!

Thanks.

>>> hassan at webtuitive.com 14 June 2002 16:18:55 >>>
David Appleton wrote:

> I'm creating a site which has got a fair few SSI's in it.  I'm having a problem though when it comes to JSP pages.
>
> I am using the following declarations to import the style sheets, which obviously works fine on normal HTML pages...
>
> <!--#include virtual="/_includes/blank.inc" -->
>
> ...However, when JRun interprets pages containing this code, it ignores it and simply shows it as comment.
>
> Has anyone come across this one before and if so, how do I get around it?

I've never tried to use SSIs with JRun, but why not just use the
standard JSP include? Assuming there's no code to be interpreted
in the included file,

<jsp:include page="/_includes/blank.inc" flush="true" />

--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !


______________________________________________________________________

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