修改jsp,每次都要重启jboss,超级郁闷。
搜得此文: http://andy-li-chn.iteye.com/blog/1966986
1. Please make sure to add <configuration> <jsp-configuration development="true"/> </configuration> in standalone.xml under <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
2. Go to jboss-as-7.1.1.Final/modules/org/jboss/as/web/main Place the jboss-as-web-7.1.1.Final-RECOMPILE.jar in there. You can download from http://www.datafilehost.com/download-2cb9ff04.html
3. Open module.xml (jboss-as-7.1.1.Final/modules/org/jboss/as/web/main) and add the following line <!--resource-root path="jboss-as-web-7.1.1.Final.jar"/--> <resource-root path="jboss-as-web-7.1.1.Final-RECOMPILE.jar"/> 注意,是把原来那个jar包注释掉。
jar包见在此,下载解压。 http://www.mytju.com/classcode/class_downCode.asp?ID=73
|