Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-26-2008, 09:54 PM
Member
 
Join Date: Jul 2008
Posts: 1
arun3m is on a distinguished road
Data Leakage in Struts 2
We have lots of action class. Say one of them is CustomerRegisterAction (which extends ActionSupport ) . When a say user X registers himself on the website; this CustomerRegisterAction is populated (using OGNL) and the customer data is saved to DB. But after sometime some other user Y from some other PCcomes and clicks the Register link, then the data entered by X is prefilled now.
I think the CustomerRegisterAction is reused, instead of creating new instance every request. we want to setup such that new CustomerRegisterAction is created every httprequest, so that data is not leaking between users.

Please help us.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Struts Swamipsn Web Frameworks 4 10-08-2008 01:01 AM
how to get the data from hashmap into bean in struts framework java_arc Advanced Java 0 04-07-2008 09:54 PM
Memory leakage problem Amali_Prem New To Java 0 01-17-2008 12:45 PM
help with JSF, MVC, Struts christina New To Java 1 08-06-2007 11:30 PM
Struts or JSF? Swamipsn New To Java 0 08-01-2007 07:35 AM


All times are GMT +3. The time now is 05:26 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org