tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kitching Simon <>
Subject RE: how to use jssi with tomcat
Date Fri, 15 Sep 2000 16:00:54 GMT

> -----Original Message-----
> From:	Shilpa Kulkarni []
> Sent:	Friday, September 15, 2000 8:37 PM
> To:
> Subject:	how to use jssi with tomcat
> hello all,
> i want to use <servlet> tag to include the contents of the servlet in my
> page.
> with apache server, u can use Apache JSSI to do this along with Apache
> Jserv.
> with tomcat, how do i use JSSI to include <servlet> tags in my jsp.
> thanks in advance,
> shilpa.
	[Kitching Simon]  

	If I understand you right, you want to include the html 
	generated by a servlet into a jsp page.

	This can be done like

	<title>my page</title>
	some text<br>
	<jsp:include page="/servlet/myservlet" />
	some more text<br>

	Of course, the servlet should not output <head><html> etc
	tags of its own if these have already been defined by the
	including page.

	Hope this answers your question



View raw message