Back Forum Reply New

from error 404, how to map correctly main flow ?

I have a /WEB-INF/flows/main/main-flow.xml which contains initial view - homepage in my application.

But i have 404 error quot;from Status 404 - /myproject/web/WEB-INF/main.xhtmlquot;when i try to go to homepage (myproject/web/main) ...

here is my webflow-config.xml :Code:
.
.
.
lt;webflow:flow-registry id=quot;flowRegistryquot; flow-builder-services=quot;facesFlowBuilderServicesquot;gt;

lt;webflow:flow-location id=quot;main-flowquot; path=quot;/WEB-INF/flows/main/main-flow.xmlquot; /gt;

lt;/webflow:flow-registrygt;
.
.
.   lt;bean id=quot;faceletsViewResolverquot; class=quot;org..web.servlet.view.uclBasedViewResolverquot;gt;       lt;property name=quot;orderquot; value=quot;1quot; /gt;       lt;property name=quot;viewClassquot; value=quot;org..faces.mvc.JsfViewquot; /gt;       lt;property name=quot;prefixquot; value=quot;/WEB-INF/quot; /gt;       lt;property name=quot;suffixquot; value=quot;.xhtmlquot; /gt;   lt;/beangt;
What could be wrong ? Looks that main-flow.xml is completly ignored, even if i have correct path defined in 'flow-location' tag.
¥
Back Forum Reply New