anchor.diff:          }
   %>
   <script>
  -    location.href = '<%= redirectPage%>?pageNumber=<%=pageNumberInt%>&webappFileName=<%= URLEncoder.encode(redirectName, "UTF-8")%>&webappState=stopped'
  +    location.href = '<%= redirectPage%>?pageNumber=<%=pageNumberInt%>&webappFileName=<%= URLEncoder.encode(redirectName, "UTF-8")%>&webappState=<%= webappState %>'
                       <% if (hostName != null && httpPort != null) { %>
                       + '&hostName=<%= hostName %>&httpPort=<%= httpPort %>'
                       <% } %> ;
  
positive.code:     if (pageNumber != null) {
          pageNumberInt = Integer.parseInt(pageNumber);
      }
      String redirectPage = request.getParameter("redirectPage");
      if (redirectPage == null) {
          redirectPage = "index.jsp";
      }
  
      String redirectName = webappKeySet[0].split(":")[1];
  
negative.code:     CarbonUIMessage.sendCarbonUIMessage(e.getMessage(), CarbonUIMessage.ERROR, request);
  %>
  <script type="text/javascript">
      location.href = "<%= redirectPage%>?pageNumber=<%=pageNumberInt%>&webappFileName=<%= URLEncoder.encode(redirectName, "UTF-8") %>&webappState=<%= webappState %>"
                      <% if (hostName != null && httpPort != null) { %>
                      +"&hostName=<%= hostName %>&httpPort=<%= httpPort %>"
                      <% } %> ;
  