Sara
Sara

Reputation: 2505

Netbeans maven hot deploy

So I have imported a project to netbeans. I am using jsf and xhtml pages. I have already deployed the project on Glassfish using maven.

When I make changes to xhtml pages, it doesn't reflect on UI. So I have gone to the project properties->compile-> compile on save for both application and ... .

But still any changes I make to code is not reflecting in UI.

Thanks

Upvotes: 0

Views: 567

Answers (2)

maxtorzito
maxtorzito

Reputation: 318

<context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Development</param-value>
</context-param>

Set your PROJECT_STAGE = Development

Upvotes: 1

Anton Arhipov
Anton Arhipov

Reputation: 6591

JRebel can help here. It handles Java code changes as well as static resources. It has even integration with all the major frameworks out there.

Upvotes: 1

Related Questions