-
Jul 6th, 2011, 09:43 AM
#1
Doubt integratin JSF 2 with Spring 3
My question is as follows: when you create a web project integrating JSF 2 and Spring 3, the sring framework defines that the web pages must be in a directory inside WEB-INF directory (for, example, /WEB-INF/jsp) so the spring dispatcher is used to locate theese web pages. But when you integrate this with JSF and you want that JSF navigation rules take the control of the web pages navigation, you need to delete dispacher servlet from web.xml and let only faces servlet...but once you've done this, JSF can't access or locate the web pages directory inside WEB-INF/jsp because JSF expects to find them in WEB-INF directory.
I've tried using the absolute path (/WEB-INF/jsp/page.jsp) and the relative one ( WEB-INF/jsp and jsp/page.jsp), the /faces/* mapping and *.html mapping that i've defined too, but i can't make jsf navigation rules to find the pages inside jsp directory. Anyone knows what can i test now to get this hit?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules