| Author |
session object or form bean
|
jacob deiter
Ranch Hand
Joined: Apr 02, 2008
Posts: 576
|
|
In Struts 1.X,How I can set the data(to be displayed to user),I should store the data in Session object then using JSP ,read session object parameter and display to user.Or otherwise ,Can I should use Form bean to store data(to be displayed to user).Which one is most appropriate for an enterprise application and generally used . [ May 04, 2008: Message edited by: jacob deiter ]
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26141
|
|
Either of those (form or directly in session) are viable strategies. "I should store the data in Session object then using JSP" - this part confuses me. Either way, you are using JSP. It's just a question of whether the JSP gets the data directly from an attribute in the session or from a form (which is stored as an attribute in the session)
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: session object or form bean
|
|
|