Originally posted by rahulJ james:
How to pass a ResultSet from a servlet to a JSP in struts 2..
With Struts 2 you can simply provide a public getter method for the result set and use a combination of the <s :p roperty...> tag and OGNL in the JSP.
That said, the previous response that suggested creating a bridge between the result set and the JSP page is a cleaner solution; rather than having to use (pseudo-JSP):
you can say:
Or, if you don't mind mixing paradigms:
[ October 04, 2008: Message edited by: David Newton ]