aspose file tools
The moose likes Struts and the fly likes Looking for Suggetions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Looking for Suggetions" Watch "Looking for Suggetions" New topic

Looking for Suggetions

vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
hi all

i want one small suggestions from you all.

in our projects we had nearly 50 forms(jsps)

Each form has a list box of 15 colors which was going to be choosen by user,presently we had hardcoded list of 15 colors in each jsp.we have also provided option to the user to edit the color.Color choosen by the user vary from one jsp to another

We have idea to move to properties file.

If we move to properties file,whenever a user is editing the form,we should provide him a value which was altready choosen by him???(which also vary from one jsp to another)

how to implement in a best way??

Looking for replies......???
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'd recommend storing this in a database keyed on user ID rather than in a properties file. It's a lot cleaner that way.

Consultant, Sima Solutions
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
hi Merrill

In ourproject we are not having any database,For storing data we are using XML
I agree. Here's the link:
subject: Looking for Suggetions