• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

session object or form bean

 
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
reply
    Bookmark Topic Watch Topic
  • New Topic