2007/9/12, temp temp <[EMAIL PROTECTED]>: > > > My applications writes html out of an xml file.this xml has feilds > with there presentation type.This field element in xml can have cdata > section which allows user to write any thing like > scripts or bean tags or any other custom tag library ,html. > for example > <field name="my-field" presentation-type="text"> > <layout> > <resource align="right"> > <![CDATA[ > <span class="smallBlueText"/> > <bean:write name="my-object"/> > ]]> > <resource> > </layout> > </field> > > I parse this information and use JspWiter to write.The probelm is, > in cdata scetion the first part <span class="smallBlueText"/> works > but the second line <bean:write name="my-object"/> does not work ie > bean:write does not print value of my-object > Is there any way I can reslve this
If you haven't a JSP page, it won't be compiled! You could use FreeMarker, instead, that can be evaluated at every time. You can use JSP taglibs with FreeMarker: http://freemarker.org/docs/pgui_misc_servlet.html Antonio