Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 16th, 2007, 05:09 AM
Registered User
 
Join Date: Apr 2007
Location: bangalore, karnataka, India.
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


Reply With Quote
  #2 (permalink)  
Old April 17th, 2007, 12:25 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open a C# application while window starts jklanka General .NET 2 October 30th, 2007 10: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 05:44 AM
Application starts again sarvesh189 Forum and Wrox.com Feedback 2 May 25th, 2005 03:07 AM
automatic run of an application deb_prgmr Visual Basic 2005 Basics 0 December 20th, 2004 09:37 AM



All times are GMT -4. The time now is 07:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.