I need to display a
jsp page which has some header fields and a number of line fields (eg : order detail).
There is no form in this page as there are no user input fields in this page.All the data displayed come from database.I am thinking of building a class for this page and fill data for an object and then put it in request scope. I do not have any get and set methods to populate the object.
Will my approach work ?
Or is there any other better approach ?
Any good example out there ?
Thanks in advance.