This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Best way Loading Master Data in applicaion context in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Best way Loading Master Data in applicaion context in Struts2" Watch "Best way Loading Master Data in applicaion context in Struts2" New topic
Author

Best way Loading Master Data in applicaion context in Struts2

T Ponraj
Greenhorn

Joined: Nov 07, 2007
Posts: 21
Dear Friends,

Can anyone one guide me, best way load the masterdata in application using struts2.

I know using Servlet and load on startup can be used to perform this activity. I m using Struts2 + Spring + Hibernate. I want to load the master data in the application context...

Any help would be appreciated.


Regards
Tponraj
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The canonical way is with a context startup listener, which isn't S2-specific.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Best way Loading Master Data in applicaion context in Struts2
 
Similar Threads
migration to Struts2
Working with Struts2
Abt Struts2?
struts2 configuration provider
Struts2 "Initiation Servlet"