• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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.
 
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic