File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes User Preferences !! Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "User Preferences !! Urgent" Watch "User Preferences !! Urgent" New topic
Author

User Preferences !! Urgent

Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
Hi all,
I need to save the user preferences of the User Interface. So whats the best way to do it.
Cheers,
Gaya3
Faisal Khan
Ranch Hand

Joined: Jun 29, 2003
Posts: 285
Gayathri,
can you please elaborate on what you are trying to achieve, i did not understand.
- FK


The secret to creativity is knowing how to hide your sources.
Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
I need to do customizartion according to the user preferences...
Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Hi Gayathri,
Plz be more elaborate in writing your queries so that we ranchers can help you in the best possible way.
What exactly do you want to customize..its still unclear...
hth
MB


Malhar Barai
SOA & Java Book
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
OK, I'll bite. Let's say that a user can go to an options page to customize the look and feel of an application or page. Make the background this color and font that color, etc. This information could be stored in cookies or related to a user (that has accessed the site through a standard login page) via a database. Does this help at all?


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
Hi,
Sorry ranchers!! Was rushing through a meeting thus gave an in adequate spec...
The need is
1) The End user customizes the pages according to his/her needs like
the user preferred sections like editorial,International Business section of a news paper site say..
2) Ofcourse the colors .. and the interface layout depending on the user's prefernce

WE thought of saving the user preferneces in the database and when ever hte user logs in we wanted to pull out the data and modigy the presentation logic...
Please make me rich with ideas...
Cheers,
Gaya3
shiva reddy
Greenhorn

Joined: Aug 26, 2003
Posts: 4
Save as XML. This will be easy to create, read , debug etc..
Create modular structures using XML
eg:
<APP_USER_GUI_PREF>
<SCREEN1>
<PARAM1>ON</PARAM1>
</SCREEN1>
</APP_USER_GUI_PREF>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User Preferences !! Urgent
 
Similar Threads
Galileo IDE(JEE) JavaServer Faces Tools preference missing libraries tab
HTML Table Border showing up thick , when viewed on lotus notes
Auto setting JavaDoc in Eclipse 3.2
Real World Example of Singleton Pattern
Portlets And Portlet Preferences