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/08/14 10:44:45 UTC

can a taglib include a .jsp file ?

Hi,

I have a taglib that needs to include a .jsp file .. .how can i do so ?

if i try doing a out.println("			<%@ include file=\"" + mySomething.jsp 
+ "\" %>") in my taglibrary called myTag it just spits out the exact 
same line in the output. The same happens when i use a 
out.println("<jsp:include ....").

I can have if else blocks instead my taglibrary and avoid including the 
mySomething.jsp. Is there a better solution than this ?

Thanks.