Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 16th, 2007, 04:09 AM
Registered User
 
Join Date: Apr 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sureshrgsl Send a message via Yahoo to sureshrgsl
Default run an application automaticaly when server starts

hai.
    i need to run a context automatically, while server<br> startup. for example, i am having one program<br> inside my webapps/webappsname/WEB-INF/classes.<br> i need this program should run automatically, when server startup itself. i should not <br>run this by giving any url in browser. automatically it should starts run. please help me in this .<br>
thanks


 
Old April 16th, 2007, 11:25 PM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

If you are using Struts framework then use Plugin class of struts, overrided this class in provide the code which you want to execute when the context is deployed.

Regards,
Rakesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
Open a C# application while window starts jklanka General .NET 2 October 30th, 2007 09:24 AM
run application more than once!!!! angelboy C# 2005 2 February 12th, 2007 03:53 PM
Not able to run my application twice! nicky05 Excel VBA 0 August 26th, 2005 04:44 AM
Application starts again sarvesh189 Forum and Wrox.com Feedback 2 May 25th, 2005 02:07 AM
automatic run of an application deb_prgmr Visual Basic 2005 Basics 0 December 20th, 2004 09:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.