title: No saved view state could be found for the view identifier
body: <p>When I was running my JSF application on Jetty server it was running fine.</p>
  
  <p>But as I moved this to Weblogic server, it started giving me this error.</p>
  
  <pre><code>javax.faces.application.ViewExpiredException: /wsListing.xhtmlNo saved view state could be found for the view identifier: /wsListing.xhtml
  at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:132)
  at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:170)
  at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
  at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(Unknown Source)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1398)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
  </code></pre>
  
  <p>wsListing.xhtml is given below:</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui" xmlns:lang="en"&gt;
  
  &lt;f:view xmlns:c="http://java.sun.com/jstl/core"
      xmlns:s="http://www.springframework.org/tags"
      xmlns:form="http://www.springframework.org/tags/form"&gt;
      &lt;h:head&gt;
          &lt;h:outputStylesheet library="css" name="../resources/css/style.css"
              target="head" /&gt;
          &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
          &lt;title&gt;Test Client&lt;/title&gt;
          &lt;link rel="shortcut icon" href="../resources/images/favicon.ico" /&gt;
          &lt;link rel="stylesheet" href="../resources/css/style.css"
              type="text/css" media="all" /&gt;
      &lt;/h:head&gt;
      &lt;h:body&gt;
          &lt;ui:include src="header.xhtml" /&gt;
          &lt;div id="home-training-container"&gt;
              &lt;h:form&gt;
                  &lt;table align="center" border="1"&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&lt;h:commandLink value="First Web Service"
                                  action="#{wsListingBean.action}"&gt;
                                  &lt;f:setPropertyActionListener
                                      target="#{wsListingBean.webServiceId}" value="abcService" /&gt;
                              &lt;/h:commandLink&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&lt;h:commandLink value="Second Web Service"
                                  action="#{wsListingBean.action}"&gt;
                                  &lt;f:setPropertyActionListener
                                      target="#{wsListingBean.webServiceId}" value="filterabc" /&gt;
                              &lt;/h:commandLink&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Third Web Service&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Fourth Web Service&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Fifth Web Service&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/h:form&gt;
          &lt;/div&gt;
          &lt;ui:include src="footer.xhtml" /&gt;
      &lt;/h:body&gt;
  &lt;/f:view&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I click on any of the command links then this issue is coming:</p>
  
  <pre><code>&lt;h:commandLink value="First Web Service"
                                      action="#{wsListingBean.action}"&gt;
                                      &lt;f:setPropertyActionListener
                                          target="#{wsListingBean.webServiceId}" value="abcService" /&gt;
  </code></pre>
  
  <p>Anyone having any idea regarding what this view state is?</p>