You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mufaddal Khumri <mu...@wmotion.com> on 2003/11/26 17:24:20 UTC
including a .jsp from within a taglib.
Hi,
I have a one.jsp on which i am using a taglib called <pf:mytag
somepath='path'/>
Inside the taghandler class i do the following:
try
{
pageContext.include(path);
}
catch(ServletException ex)
{
ex.printStackTrace();
}
path holds the path to another .jsp file that i want to include. I
have made sure that my taglib does get the path string.
pageContext.include(path) does not work for me. Have I to do something
more than this? Where am i going wrong?
Thanks.