Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Looking for Suggetions

 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Merrill

In ourproject we are not having any database,For storing data we are using XML
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic