WAS and Upload function update

- Revise a error with Apache Httpd as web server with WAS 8.5

Step 1: Download and install web server plug-in package
Step 2: Modify httpd.conf of Apache Httpd
LoadModule was_ap22_module modules/mod_was_ap22_http.dll
WebSpherePluginConfig "c:\Program
Files\IBM\WebSphere\Plugins\config\MyApache2\plugin-cfg.xml"
The plug-in configuration file could be generated from WAS console
The result is you can access from http://hostname/app to the port on
your httpd listening port
Also you can check application from hostname:9080 from WAS

- Revise file upload function in eznews
1. add table tdfiles in database
2. check data source - WAS uses JNDI while tomcat use explicit
configuration in hibernate.xml
3. check upload file physical directory at UploadFileServlet

String prefix = getServletContext().getRealPath("/upload/")+"\\"; // the
physical directory of web application server is