简体   繁体   English

JSP更改未在jBoss中显示

[英]JSP changes not being shown in jBoss

I am pretty new to jBoss and JSP and come from a PHP background, if that helps. 我对jBoss和JSP很新,并且来自PHP背景,如果这有帮助的话。

I have checked out a project from subversion and am fooling around with the .jsp pages, tinkering with texts and changing them to get a hang on the screen. 我已经从subversion中检查了一个项目,并且正在使用.jsp页面进行愚弄,修改文本并更改它们以便在屏幕上挂起。 Once I do that, I build the project again, the changes I made on the *.jsp pages do not reflect on the screen. 一旦我这样做,我再次构建项目,我在* .jsp页面上所做的更改不会反映在屏幕上。 Do I need to stop, restart jBoss and then build the project again ? 我是否需要停止,重新启动jBoss然后再次构建项目? (that would be crazy) (那会很疯狂)

Not sure what I am missing out, but any explanation is welcome. 不确定我错过了什么,但欢迎任何解释。

By default if you deploy an exploded Web application (not packaged but as a folder) the content is automatically reloaded each time you modify a JSP. 默认情况下,如果部署展开的Web应用程序(未打包但作为文件夹),则每次修改JSP时都会自动重新加载内容。
You can alter this behaviour using specific configuration for the JBoss AS release you are using. 您可以使用您正在使用的JBoss AS版本的特定配置来更改此行为。 For example, if you are using JBoss AS 7, then check this tutorial . 例如,如果您使用的是JBoss AS 7,请查看本教程
Hope it helps 希望能帮助到你

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM