Is there actually any real requirements for those html-code portions
to be outside of the webapp?
If no - move them into the webapp :-)

If no - write a custom tag which caches the files via normal
FileSystem read and dumps them out in the jsp buffer (of course its
better to have a class that caches the binaries and the tags only gets
the data from this class, but you haven't asked for details, right?)

regards
Leon



On 1/9/07, Scott Cowley <[EMAIL PROTECTED]> wrote:
 The problem is that I can't reference JSP includes from app code if the
included file is outside the app's root.
(At least with the default installation of Tomcat).

-----Original Message-----
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 1:24 PM
To: Tomcat Users List
Subject: RE: Best way to include common html

Possibly a framework for templating. Tiles, SiteMesh they are created
for exactly what you are looking for. Of course you can use JSP includes
... but the frameworks do a better job IMOHO.



-----Original Message-----
From: Scott Cowley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 2:14 PM
To: Tomcat Users List
Subject: Best way to include common html


What is the best approach to get shared HTML files, (such as header and
footer files) located outside each appBase,
included into an application (.jsp) under Tomcat?

SSI filter ?
Or some context resource setting ?

Thanks for any help.

- s.c., university of utah



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to