Forums Register Login

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

+Pie Number of slices to send: Send
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" "http://java.sun.com/dtd/web-app_2_3.dtd">; <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.
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1637 times.
Similar Threads
How to restrict the direct access of folder jsf pages in a JSFWebaplication
Error while accessing hibernate session through JSF
Getting Cannot find FacesContext and sometime showing html codes in the page
Cannot find FacesContext and showing the html code in the jsp
JSF Implementation Problems: executePhase(RENDER_RESPONSE
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 22:17:19.