anilkumar potu wrote: But i want my result in some variable and i need to use it in my jsp's.
You shouldn't have
Java code in your JSP, it's against the principles of the MVC
pattern, if you do that, you might as well throw out Struts and put all your code in JSPs!