测试了一下JBoss6.4可以
jboss-eap-6.4\standalone\configuration
standalone.xml 中加
jsp-configuration
- <subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default-host" native="false">
- <configuration>
- <jsp-configuration development="true"/>
- </configuration>
- <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
- <virtual-server name="default-host" enable-welcome-root="true">
- <alias name="localhost"/>
- <alias name="example.com"/>
- </virtual-server>
- </subsystem>