velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M Ashikuzzaman <>
Subject & < > issue
Date Sat, 30 Oct 2004 10:40:49 GMT
Hi list,

I am using velocity with fop to generate pdf reports using a velocity
template formate from my form.

It works fine unless user inputs &, < or > sign as values for comment in
text areas etc. I need to parse them as follows to get rid of he FOP

& to &amp;
< to lt;
> to gt;

How may I convert them? What can be my best point to convert them? May i
change the incoming string values in my velocity macro file by checking
for these characters and parse them in html content? How? Any comment
would be appreciated.

Senior Programmer,
Therap (BD) Ltd.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message