You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hemant Singh <he...@yahoo.com> on 2000/02/10 14:45:59 UTC

Re: Using include from a servlet

HI Zsolt:
Inside your Servlet subclass use following :
RequestDispatcher _rd =
getServletContext().getRequestDispatcher("/newURLToWhichWeNeedIncludeOrForwa
rd");
_rd.include(request, response);

Regards
Hemant
----- Original Message -----
From: "Zsolt Koppany" <zk...@intland.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, June 07, 2001 12:30 PM
Subject: Using include from a servlet


> Hi,
>
> I need the same functionality like <isp:include> from a servlet. How can
> I do that?
>
> Zsolt
>
> --
> Zsolt Koppany
> Intland GmbH www.intland.com
> Schulze-Delitzsch-Strasse 16
> D-70565 Stuttgart
> Tel: +49-711-7221873 Fax: +49-711-7871017