Hi is it possible to specify href in <s:div to render content as an image ? 
I have a struts2 action returning a JfreeChart chart as png. 

Without ajax, <image src="/chart/ViewChart.action"/> shows the chart
correctly, but the following renders it as text (well actually the binary
stuff inside the png)

<s:url id="ajaxCallUrl" value="/chart/ViewChart.action"/>
     <s:div theme="ajax"
           href="%{ajaxCallUrl}" loadingText="Loading Chart...">
     </s:div> 

-- 
View this message in context: 
http://www.nabble.com/Rendering-an-image-into-%3Cs%3Adiv-from-ajax-tf4074632.html#a11580059
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to