I am a newbie in struts 2, I want to display multiple rows from a database table to a jsp file. How to pass or set the properties to get the the rows in jsp page.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is the method I often use:
The RowBean is a JavaBean that corresponds to a row of resultset.
The use the following code segment to extract the content on the jsp page:
where the attribute1 … attributeN are the same as the attributes defined in the RowBean.
Hope this helps.