This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes ? for web-applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "? for web-applications" Watch "? for web-applications" New topic
Author

? for web-applications

thomas Fuchs
Greenhorn

Joined: Apr 18, 2007
Posts: 16

hi all,

i've got a simple web-app that drops into tomcat (using tomcat 5 & 6).

what i am trying to do is when the web-app or war file is dropped into
tomcat and is automatically deployed/exploded i want a particular class
to be initialized or object to be instantiated.

anyone know how to do this?
will i need to use spring ....

thanks for any help
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63206
    
  69

Context listener.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63206
    
  69

And please strive for better subject lines.
thomas Fuchs
Greenhorn

Joined: Apr 18, 2007
Posts: 16
thanks,

that is what i was looking for;
yea your right about the subject ...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63206
    
  69

My pleasure.

All posts in this forum are ?'s on web apps, which is why your subject isn't distinctive.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: ? for web-applications
 
It's not a secret anymore!