Women in Technology

Hear us Roar

  Designing JSP Custom Tag Libraries
Subject:   How to include jsp include directive in JspWriter
Date:   2007-07-17 23:31:18
From:   Madhukar29
I have my requirement like this

buffer.append("<table width="+tableWidth+" height="+tableHeight+">" +
"<tr>" +
"<td class="+cssTableBackGround+">" +
"" +
"<img id='"+ID+"' border="+0+" src="+imageDown+" name='toggleImage'/> (\"javascript:simpleToggle('"+ADVANCED+"',) " +
"<font class="+cssClass+"> "+
"Edit ChairPerson" +
"</td></tr></table>" +
"<div id='"+ADVANCED+"' style='background-color:#cccccc;display:none; overflow:hidden;height:95px;width:75%'>"+
"<%@ include file=\"advancedEpanded.jsp\" %>" +

JspWriter out = pc.getOut();

i need to include another jsp in the code.
is there a way to do it?
i tried with jsp include also. but i canot see the content ont the screen.