在jboss-as-7.1.1.Final中启用热门部署网页 [英] Enable hot deploy for web pages in jboss-as-7.1.1.Final

查看:186
本文介绍了在jboss-as-7.1.1.Final中启用热门部署网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是jboss的新手,我想启用在tomcat中的热部署功能。
现在当对xhtml页面进行任何更改时,我重新构建应用程序,然后重新部署整个战争,这太多了。

i am new to jboss, and i want to enable the hot deploy feature as in tomcat. right now when making any change to the xhtml page, i rebuild the application then redeploy the whole war, which is too much.

但在tomcat中,战争文件被提取,然后我替换更改xhtml文件,并立即看到更改。

but in tomcat the war file was extracted, and then i replace the change xhtml file only and see the change immediately.

我想知道如何完成同样的行为为jboss-as 7.1.1

i was wondering how to accomplish same behavior for jboss-as-7.1.1.Final, and not in eclipse.

请指教如何做,谢谢。

推荐答案

您也可以在JBoss中做同样的事情。该文件应在jboss服务器(独立)目录中的/ tmp / vfs / temp * / content *中。您可以在该目录中找到xhtml,并替换为新的。应该工作! ..

You can do the same thing in JBoss as well. The file should be in /tmp/vfs/temp*/content* in the jboss server (standalone) directory. You can simply find the xhtml in that directory, and replace with new one. It should work! ..

看起来有另一种方式使用jsp-configuration developmentement = true,检查 here

It looks there is another way using jsp-configuration developement=true, check here

这篇关于在jboss-as-7.1.1.Final中启用热门部署网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆