But what is more appropriate? To have a structure like:
webapps
- webapplication
-- WEB-INF
jsp(first.jsp)
OR
webapps
- webapplication
-- WEB-INF
-- jsp (first.jsp)
The problem is that in the first structure I cannot get it to work.
In faces-config.xml I use
<from-view-id>/jsp/first.jsp</from-view-id>
<navigation-case>
<from-outcome>personalInfo</from-outcome>
<to-view-id>/jsp/second.jsp</to-view-id>
</navigation-case>
and it says that it cannot found webapplication/WEB-INF/jsp/second.jsp
Any help?
> In faces-config.xml I use
> <from-view-id>/jsp/first.jsp</from-view-id>
> <navigation-case>
> <from-outcome>personalInfo</from-outcome>
> <to-view-id>/jsp/second.jsp</to-view-id>
> </navigation-case>
>
Think you have to mention the path like this
<from-view-id>WEB-INF/jsp/first.jsp</from-view-id>
so on...
or there may be something wrong with mapping url in web.xml