These two functions are written in Java, is the main method for running, one is a regular task, a task is triggered,
Is now to be deployed to tomcat, beat him to the aaa. The war file into the webapps here, but I run in the tomcat webapps
Aaa folder only a WEB - INF, what can I do to let these two methods of operation, task will have been running regularly, trigger tasks to artificial operation,
How to do?
CodePudding user response:
There is no page interactions?CodePudding user response:
I'm in the web. Add the XML servlet:CodePudding user response:
Task is to use a servlet to solve regularly, another task is to write a page interaction,CodePudding user response:
Javac Java??????? Main run directly??There is an annotation called @ PostConastruct