Update JSF 2 page without restart service

I have JSF 2.1 page and Intellij IDEA 10.And i must restart Tomcat 7 or glassFish 3.0.1, after any change to JSF page. But in NetBeans 6.9.1 all work ok. Please, help me.

I want to buy personal license, but this feature is critical for web developer.  


web.xml

<?xml version="1.0" encoding="UTF-8"?> <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">     <display-name>ICEfaces Component Showcase</display-name>     <description>         ICEfaces Component Showcase was designed to make developers aware         of the rich set of features available in the custom and extended         components.     </description>     <context-param>         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>         <param-value>server</param-value>     </context-param>     <context-param>         <param-name>com.icesoft.faces.synchronousUpdate</param-name>         <param-value>false</param-value>     </context-param>     <context-param>         <param-name>javax.faces.PROJECT_STAGE</param-name>         <param-value>Development</param-value>     </context-param>     <context-param>         <param-name>javax.faces.CONFIG_FILES</param-name>         <param-value>             /WEB-INF/faces-config.xml,             /WEB-INF/faces-config-ext.xml,             /WEB-INF/faces-managed-bean.xml         </param-value>     </context-param>     <context-param>         <param-name>org.icefaces.mandatoryResourceConfiguration</param-name>         <param-value>org.icefaces.component.selectinputtext.SelectInputText                      org.icefaces.component.selectinputdate.SelectInputDate                      org.icefaces.component.panelpopup.PanelPopup         </param-value>     </context-param>     <context-param>         <param-name>javax.faces.VALIDATE_EMPTY_FIELDS</param-name>         <param-value>false</param-value>     </context-param>     <context-param>         <param-name>org.icefaces.uniqueResourceURLs</param-name>         <param-value>false</param-value>     </context-param>     <context-param>         <param-name>com.icesoft.faces.uploadDirectory</param-name>         <param-value>upload</param-value>     </context-param>      <context-param>         <param-name>com.icesoft.faces.blockUIOnSubmit</param-name>         <param-value>true</param-value>     </context-param>     <context-param>         <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>         <param-value>true</param-value>     </context-param>     <servlet>         <servlet-name>Faces Servlet</servlet-name>         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>         <load-on-startup>1</load-on-startup>     </servlet>     <servlet>         <servlet-name>Resource Servlet</servlet-name>         <servlet-class>com.icesoft.faces.webapp.CompatResourceServlet</servlet-class>         <load-on-startup>1</load-on-startup>     </servlet>     <servlet-mapping>         <servlet-name>Faces Servlet</servlet-name>         <url-pattern>/faces/*</url-pattern>     </servlet-mapping>     <servlet-mapping>         <servlet-name>Faces Servlet</servlet-name>         <url-pattern>*.xhtml</url-pattern>     </servlet-mapping>     <servlet-mapping>         <servlet-name>Faces Servlet</servlet-name>         <url-pattern>/faces/*</url-pattern>     </servlet-mapping>     <servlet-mapping>         <servlet-name>Resource Servlet</servlet-name>         <url-pattern>/xmlhttp/*</url-pattern>     </servlet-mapping>     <servlet-mapping>         <servlet-name>Faces Servlet</servlet-name>         <url-pattern>/icefaces/*</url-pattern>     </servlet-mapping>     <servlet>         <servlet-name>ReportServiceServlet</servlet-name>         <servlet-class>org.medsphere.web.servlet.ReportServiceServlet</servlet-class>     </servlet>     <servlet-mapping>         <servlet-name>ReportServiceServlet</servlet-name>         <url-pattern>/ReportServiceServlet</url-pattern>     </servlet-mapping>     <session-config>         <session-timeout>30</session-timeout>     </session-config>     <error-page>         <exception-type>javax.faces.application.ViewExpiredException</exception-type>         <location>/faces/msclogin.xhtml</location>     </error-page>     <error-page>         <exception-type>javax.faces.application.SessionExpiredException</exception-type>         <location>/faces/msclogin.xhtml</location>     </error-page>     <error-page>         <error-code>500</error-code>         <location>/faces/msclogin.xhtml</location>     </error-page>     <welcome-file-list>         <welcome-file>faces/msclogin.xhtml</welcome-file>     </welcome-file-list>     <mime-mapping>         <extension>ecss</extension>         <mime-type>text/css</mime-type>     </mime-mapping> </web-app>

1 comment
Comment actions Permalink

Please use Run -> Update application action.
To automate this, toggle "Update Resources on frame deactivation" in
Deployment window

0

Please sign in to leave a comment.