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
Miro
Antonio Petrelli <[EMAIL PROTECTED]> wrote: 2007/9/12, temp temp :
>
> in this case is there is no way to invoke jsp compiler or is there any
> workaround for this problem ?
Do you want to invoke a JSP compiler inside a webapp? If it is possible,
surely it is not portable.
I suggest you to write pure HTML.
Antonio
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel
and lay it on us.