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 Jsp/ Servlet Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jsp/ Servlet Help" Watch "Jsp/ Servlet Help" New topic
Author

Jsp/ Servlet Help

Prasad Varma
Greenhorn

Joined: Oct 12, 2005
Posts: 1
Hi,
Iam developing a webapplication using jsp, servlets and struts. Initially I need to read some values from a database and populate a bean. As these values wont change frequenty, I want to keep the bean in application context. The admin of the site can update these values, when the admin updates these values by clicking on submit button, I want to perform the same operation and re-populate the bean. Please someone suggest me how to achieve this in a efficient way.

Thank You.

[ Edited by Dave to remove the offending material]
[ October 12, 2005: Message edited by: David O'Meara ]
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

I'd suggest doing what you described. Populate the bean from the database, store it in the application scope, and update it upon request from the user. Is there a particular step in there about which you're confused?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Welcome to the Ranch! 'Urgent' posts don't get seen any faster than other posts and it just annoys some people so I removed it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jsp/ Servlet Help