[jboss-user] [JBoss Seam] - Redirecting into view that is inside a directory

thejavafreak do-not-reply at jboss.com
Fri Dec 15 07:42:59 EST 2006


Dear all,

I have a problem where I haven't been able to figure out how to redirect a view that is inside a directory

This is how /index.jsp looks like:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  | <c:redirect url="home.seam" />

And this is my navigation rule:
 <navigation-rule>
  |     <navigation-case>
  |       <from-outcome>home</from-outcome>
  |       <to-view-id>/department/home.xhtml</to-view-id>
  |       <redirect />
  |     </navigation-case>
  |   </navigation-rule>

>From the webcontext root directory, the view is located under /department directory. I expect to get the view /department/home.xhtml displayed, but it didn't work. Have I missed on something here?

Thanks in advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994206#3994206

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994206



More information about the jboss-user mailing list