Thank you Merill. Well actualy I implemented the second way most of the places. It works fine. I was wondering if there is a struts way of handling this issue and hence I posted that question. You showed me a way using the framework. I would try to implement the same.
Thanks once again.
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads: