[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[转帖]jboss 7.1.1 Final 的jsp热部署解决方案

上一篇:[备忘]spring mvc用注解搞配置搞不定,最后还是用了个web.xml文件
下一篇:[备忘]spring,某个bean初始化后执行某些动作。

添加日期:2015/8/12 17:52:39 快速返回   返回列表 阅读2603次
修改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
 

评论 COMMENTS
没有评论 No Comments.

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved