Hi rajesh chowdary welcome to Javaranch
,
Firstly are you using only
JSP's to do the work with no controllers in between?
If yes then consider reworking your design so that it follows the MVC 2 architecture.
Otherwise there will be more of such patch-up problems.
Hope this helps