java

apache + tomcat + struts의 사용

새로운 도전을 위한 한걸음 2015. 5. 10. 21:55

Apache 2.x 와 Tomcat 5.x + mod_jk2 연동하기

 

# Uri mapping
[uri:/servlet/*]
info=Servlet mapping

[uri:/*.jsp]
info=Jsp mapping

[uri:/*.do]    <------ struts의 do 확장자를 정의합니다.
info=Struts mapping

[uri:localhost/*.jsp]
worker=ajp13:localhost:8009

[uri:localhost/*.do]    <------ struts의 do 확장자를 정의합니다.
worker=ajp13:localhost:8009

[uri:localhost/servlet/*]
worker=ajp13:localhost:8009