tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mika Goeckel" <m...@stepstone.de>
Subject Re: can you call (include) a servlet from a jsp
Date Fri, 02 Nov 2001 23:59:57 GMT
Heya!

Try calling the doGet(HttpServletRequest request, HttpServletResponse
response) method of your servlet class, it will use "out" to write to your
jsp's stream.
Btw, you can compile your jsp into a servlet (i.e. get the java source) if
you manually invoke the jspc with the keepgenerated option (look up the
docu).

Mika
mika.goeckel@ieee.org

----- Original Message -----
From: <RSEQUEIRA@TRANSENTRIC.COM>
To: <tomcat-user@jakarta.apache.org>
Sent: Saturday, November 03, 2001 12:37 AM
Subject: can you call (include) a servlet from a jsp


> Can you include the output of a servlet from within a jsp?
> I tried using:
> <jsp:include >
> but it didn't work right. Any help/comments will be appreciated.
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message