You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Oto 'tapik' Buchta <ta...@neo.cz> on 2001/05/04 09:21:10 UTC

Apache SSI #include and servlets

Hi,
I would like to use something like this:

public class MyServlet extends HttpServlet {
void doGet(_,_) {
   response.setContentType("text/shtml");
   PrintWriter out = response.getWriter();
   out.println("<HTML><BODY><!--#include file="header.part" --><HR>Hello 
World!!!</BODY></HTML>");
}
}
Is it possible or not?
And how to bind servlet output to the mod_ssi or mod_rewrite or whatever?

Thanks very much,
-- 
Oto 'tapik' Buchta , tapik@neo.cz


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org