Hi Stuart,
On Mon, 21 Jun 1999, Stuart Allen wrote:
SA| At the moment I have many HTML pages that call a servlet to dynamically
SA| create a header. I am now in the situation where I would like to have the
SA| output of a second servlet appear directly after the first. I do not,
SA| however, want to go and add a second <SERVLET> tag to every HTML document.
SA| What is the best way to handle a situation like this? The list of servlets
SA| that build the header will undoubtedly grow and shrink as time goes by, so
SA| it should be easily maintainable from a single source.
What about using the new '<!--#include-->' capability of Apache JSSI ? So
you just have to include your header generating stuff and can maintain it
from a single source.
SA| Although I am currently using JServ and Apache, I would like to avoid
SA| locking myself into an Apache specific solution if at all possible.
- Many SSI-Servlets from other Vendors habe the <!--#include--> tag
implemented (IIRC, Suns current JWS as well)
- Apache JSSI runs on any other jsdk 2.0 compliant Servlet Engine (well,
only tested with JWS 1.1.3)
ciao,
-hen
---
Henner Zeller [EMAIL PROTECTED]
PGP pub key [77F75B39]: finger [EMAIL PROTECTED]
If Microsoft is the answer, it must have been a VERY silly question.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]