• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Struts form bean scope

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am new to struts i have doubt in using struts form bean scope. i am using struts 1.2 in my project .i have a requirement where i want to populate the values of one page in corresponding next page .I can get the values by using same form bean for both the pages.I used form bean scope as session .But people saying this will decrease the performance of project .If i keep form bean scope as request then at the time of validations values are missing.I cannot use hidden fields because of security purpose.

so please suggest me something .

Thank you.

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Who says it'll decrease the performance of your project?

The only reason keeping data in session *might* reduce performance is if there's a *lot* of data in the session, but session forms are unlikely to be the culprit. And you can always remove them from session once you're not processing the form any more.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic