Integrate Apache mod jk and struts action (*.do)
Then I start to investigate what is possible problems. May be the jsp is in wrong directory, may be the path in configuration file have typo mistake and etc? But I am sure whatever possible problem in my mind should not be the right because if is those problem, it will showed an error page and not an empty page.
Suddenly I thought of may be the envionment is different. The testing server is running apache for load balancing while my machine is not. I quickly did a search in google for apache configuration (I have never setup a apache server) and find the possible solution.
The solution is as follow:
Under document root add this
JkMount /*.do loadbalancer
JkMount /WEBAPPS/* loadbalancer
The "JkMount /*.do loadbalancer" tell the apache to load balance for all files end with .do. While the "JkMount /WEBAPPS/* loadbalancer" is to load balance all the files under your WEBAPPS path.
If you are interested to know more about configuring apache with tomcat, please read Apache 2.x + Tomcat 4.x + Load Balancing (or Private JVMs). Lastest apache tomcat connector can be download here