Hello guys, I have successfully integrated tomcat 4 and Apache 1.3 on AIX, then dropped a JSP in the tomcat's examples/jsps/ folder and accessed it via Apache. But, the problem is after deploying an application, i was able to access the first screen, WelcomePage.jsp But after logging in i get a 404 error: The requested resource (/context/servlet/pack1.pack2.pack3.ControllerServlet) is not available.
My Apache_home/conf/httpd.conf entry is:
# # Mod_jk settings #
JkWorkersFile "conf/workers.properties" JkLogFile "/aah/apache/1.3.33/logs/mod_jk.log" JkLogLevelerror JkMount/context default JkMount/context/* default - made me access WelcomePage.jsp JkMount /context/servlet/default
# End of mod_jk settings
I think the problem, is the WelcomePage.jsp has form action value of action="/context/servlet/pack1.pack2.pack3.ControllerServlet"
And JkMount expects a physical location for a webpage, NOT the path to the controller servlet.
Any help, will be appreciated.
Joined: Feb 23, 2004
The invoker mapping was un-commented out in the tomcat_home/conf/web.xml