본문 바로가기
java

apache + tomcat + struts의 사용

by 새로운 도전을 위한 한걸음 2015. 5. 10.

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