Originally posted by Amol Nayak:
When your are displaying source code it might contain characters like <,>,& etc..
So you will need to escape these special characters. have a look at the JSTL tag suggested by Bear, that will give you the answer.
The work "escape" from Amol and hint from bear really helped.
Thanks.