Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

https request with for jsf pages with redirect in navigation.xml does not work  RSS feed

anjana prakash
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we are trying to configure https request for our application which is using jsf pages. The web.xml in the war is configured with facesservlet mapped to *.faces request. when clicked from menu the frist request is to index.faces which invokes managed bean method this method then returns success. in Navigation.xml for index.xhtml on success it is set to redirect to page devices.xhtml. the problem that we are facing is in http the whole process works fine. however in https the redirect to devices.xhtml is not happening. the configuration in web.xml is <?xml version="1.0"?> < !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" ""> <web-app> <context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/navigation.xml</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> < !-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.faces</url-pattern> </servlet-mapping> </web-app> we are using Tomcat 6.0.16 and Apache as webserver. Is there something missing in the configuration for redirect of jsf to work in https configuration in navigation.xml is <from-view-id>/devicemanager/index.xhtml</from-view-id> <from-action>${devicebean.loaddevice}</from-action> <from-outcome>success</from-outcome> <to-view-id>/devicemanager/device.xhtml</to-view-id> </redirect> Appreciate if anyone can help us solve configuration with redirect in jsf with https.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!