这就是我的Main类的样子。我想按下jsp文件中的按钮来运行它。
package main;
public class Main {
public static void main(String[] args) throws Exception {
XmlParser b = new XmlParser();
ServiceController sl = new ServiceController();
Pipeline2 objPipeline2 = new Pipeline2();
objPipeline2.main(args);
b.parseXML();
sl.callServiceByDomain();
}
}