Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Ravi Suda

Greenhorn
+ Follow
since Feb 04, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ravi Suda

Hi J,
I also have the similar problem. I want to keep all the jsp's under WEB-INF. But the navigation is not working.

Navigation is as follows
indes.jsp --> first.jsp --> second.jsp

Here except index.jsp, remaining jsp's are in WEB-INF/jsps folder.

Sample code for faces-config.xml is

<navigation-rule>
<from-view-id>/index.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/WEB-INF/jsps/first.jsp</to-view-id>
</navigation-case>
<navigation-rule>
<from-view-id>/WEB-INF/jsps/first.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/WEB-INF/jsps/second.jsp</to-view-id>
</navigation-case>

The first navigation rule index.jsp --> first.jsp is working properly, but not the second one. I don't follow gateway/view resolver concept exactly.

We use spring framework along with JSF in our project. would you please give me possible solution for my problem.

Regards
Ravi
15 years ago
JSF