| Author |
display model object in jsp
|
Naveen Madarapu
Ranch Hand
Joined: May 24, 2011
Posts: 62
|
|
hello,
i have a List type which consist a Member class object this is coming from database am going to render this list in jsp
in list i have 100 member objects but am display 10 per page only without using the multiple jdbc calls how can i did this one can any one help me please.
|
OCPJP
|
 |
Sam Mercs
Ranch Hand
Joined: Feb 08, 2009
Posts: 539
|
|
This isn't a Spring related question. This might get better traction on the Servlet/JSP forum.
Having said that, the usual way to do it would be to store the data in a session/application object (based on what the data is), that could be used when the user navigates to the next page.
Of course storing 100 odd rows worth data in user session would end up loading the server.
Personally I would not mind 10 trips to the database. how many user a likely to ever navigate more than one page!!
|
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
|
 |
 |
|
|
subject: display model object in jsp
|
|
|