| | |
Auto call to a servlet file inside Tomcat 4.1
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2007
Posts: 17
Reputation:
Solved Threads: 0
Hi Experts,
I have written a Servlet file which sends email to a user .When if i run that servlet file in command Prompts it sends a email .Now i want that servlet file to be automatically executed inside my Tomcat server within a stipulated Time . Sothat it can send automatic reminder emails .How is it Possible..pls Help me . I have tried a lots but still i can't make it out. I also add listener in my web.xml file then also i can't get my requirements.....Pls help me out
Thanx in Advance
I have written a Servlet file which sends email to a user .When if i run that servlet file in command Prompts it sends a email .Now i want that servlet file to be automatically executed inside my Tomcat server within a stipulated Time . Sothat it can send automatic reminder emails .How is it Possible..pls Help me . I have tried a lots but still i can't make it out. I also add listener in my web.xml file then also i can't get my requirements.....Pls help me out
Thanx in Advance
•
•
Join Date: Jan 2007
Posts: 17
Reputation:
Solved Threads: 0
•
•
•
•
it's easy. Start a Timer inside the servlet init method, set the servlet to load on web application startup, and away you go.
Yes i can start a timer inside the servlet init Method but how to set the servlet sothat it will startup automatically in my web application. Do i use listener in web.xml or any other way are there so that my servlet will automatically load on web application
![]() |
Similar Threads
- Tomcat Property file (JSP)
- how can I display pdf file inside the ole container control (Visual Basic 4 / 5 / 6)
- How to re-organized XML file and call XML file from my software (RSS, Web Services and SOAP)
- how do i call an .exe file from perl script (Perl)
- Accessing Images in JAR file (Java)
- file save load problems (C++)
Other Threads in the JSP Forum
- Previous Thread: How to Auto refresh a part of a page
- Next Thread: variable Initialisation in JSP
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






