----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
On Tue, 21 Mar 2000, Robert Dana wrote:
> I have a servlet that generates dynamic HTML that includes, among other things,
> a "<SERVLET>" tag - in other words a Java SSI. The question is: how do I get
> Apache to understand that this page should be treated as a .jhtml? One obvious
> solution is to send the servlet's output stream to a file instead of to the
> browser, name the file something.jhtml and re-direct the browser to that file.
> But surely there is a more elegant solution. Is there some content-type trick I
> can use?
You could just call the embedded servlet directly from your servlet than
generates <SERVLET> tags. Isn't that elegant enough?
Peter
--
URBAN Peter Mail: [EMAIL PROTECTED]
Federal Institute of Technology WWW: http://lsewww.epfl.ch/urban
EPFL-DI-LSE, office INF 233 Phone: (+41 21) 693 5354
CH-1015 Lausanne, Switzerland Fax: (+41 21) 693 6770
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]