first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package wenrgise.common.utility;
import javax.servlet.ServletException;
import org.apache.struts.action.ActionServlet;
import org.apache.struts.action.PlugIn;
import org.apache.struts.config.ModuleConfig;
public class ReportPlugin implements PlugIn {
private String reportPathName = "/WEB-INF/EnrgiseReport.xml";
public void init(ActionServlet servlet, ModuleConfig config) throws ServletException {}
public void destroy() {}
private String calculatePath(ActionServlet servlet, String sPath) {
return servlet.getServletContext().getRealPath(sPath);
}
}