JBoss配置2

注意事项:
新建工程:
1。在web.xmx增加2个过滤器,CasFilter,LoginFilter.
<filter>
<filter-name>CASFilter</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CASFilter</filter-name>
<url-pattern>/jsp/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>LoginFilter</filter-name>
  <filter-class>com.shine.filter.LoginFilter</filter-class>
</filter>
<filter-mapping>
  <filter-name>LoginFilter</filter-name>
  <url-pattern>/jsp/*</url-pattern>
</filter-mapping>

在esim.xml 文件中增加
<web-deploy>
  <web-name>NEWPRJ</web-name>
  <webapp-url>http://10.168.2.89:8080/</webapp-url>
</web-deploy>

你可能感兴趣的:(jsp,Web,xml,jboss)