aspose file tools*
The moose likes Servlets and the fly likes How to load file at the time of start of the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to load file at the time of start of the application " Watch "How to load file at the time of start of the application " New topic
Author

How to load file at the time of start of the application

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Hi All,

I have some set of properties and mapping files and have a requirement to load those at the the start up of the application along with web.xml.
How to load them at the start up without defining individually into web.xml?
Does Jconfig.jar provides same functionality?


Thanks in Advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

context listener


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 806

Write a Listener. Read HFSJ book, you can find a good explanation.


Love all, trust a few, do wrong to none.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to load file at the time of start of the application