Apache Tomcat 6 How to Install & Configure
Yet Another Insignificant Programming Notes by Chua Hock-ChuanWeb Programming Tutorial - HTTP Authentication
Web Programming Tutorial - HTTP with SSL
tomcat 5.5 - problem with reading resource files
public void init(ServletConfig config) throws ServletException {
String pathToFile = config.getServletContext().getRealPath("")
+ "/WEB-INF/config.properties";
Properties properties = new Properties();
properties.load(new FileInputStream(pathToPropertiesFile));
}
0 件のコメント:
コメントを投稿