edward_durai wrote:
I am Using Struts with Hibernate.
I have one table in database.
Fields : id, name , code, date
I want to change the display order format
for eg.
name, code, id, date
Well, it seems that your question has nothing to do with Hibernate... You want to show your data in a different order in your jsp, as I seem to understand ?
If so, then that's not the right place to ask for it. But, I can just say that it's very simple, just inverse the tags in your jsp file and that should do.
Getting the data with Hibernate to build objects has nothing to do with the way you want to present it.
Quote:
Tell me some idea.
Maybe you could use a less imperative form for your request :). Maybe a
please would have been a good idea...