Is it possible to apply changes to JSF files without republishing?

后端 未结 2 695
忘了有多久
忘了有多久 2021-01-25 10:32

I\'m using IBM RAD version 8.0 and deploying the EAR applications to IBM WebSphere 7.0. Each time I change a JSF file, I need to republish the application, otherwise the changes

2条回答
  •  走了就别回头了
    2021-01-25 11:15

    This thread is old, but I still had the same problem, using eclipse and WebSphere.

    One place to check is this. If you use JSF files with the .xhtml ending, you have to make sure that changes in these do not trigger automatic republishing.

    1. In the tab "Servers" double-click on your server.
    2. Open the "Publishing settings for WebSphere Application Server"
    3. Click on "Set Advanced Publishing Settings...".
    4. In the "List of file extensions that do not trigger the server to publish ..." insert or append ", *.xhtml".
    5. Close these settings and restart the server.

    In web.xml I have also added a parameter with the name javax.faces.PROJECT_STAGE and the value Development , which may have an influence on the offending behavior.

提交回复
热议问题