IIS 6 での ISAPI DLL のデバッグ方法
IIS 6.0の機能の詳細
IIS 4.0 以降のバージョンを使用したデバッグ
[ASP.NET]SessionのInProcプロセスモデルが危険な理由
Introduction to IIS 7 Architecture
Various things that I read and meet everyday.
1. Properties properties=new Properties();
2. properties.load(Thread.currentThread().getContextClassLoader().getResource("app.properties").openStream());
Properties dbProps = new Properties();
//The forward slash "/" in front of in_filename will ensure that
//no package names are prepended to the filename when the Classloader
//search for the file in the classpath
InputStream is = getClass().getResourceAsStream("/"+in_filename);
if(null == is)
{
throw new ConfigException("Can't locate file:" +in_filename);
}
try
{
dbProps.load(is);//this may throw IOException
return dbProps;
}
catch (IOException ioe)
{
System.err.println("Properties loading failed in AppConfig");
throw new ConfigException(ioe,"Can't locate file:" +in_filename);
}