ur path or web.xml def is wrong check that
Main Topics
Browse All TopicsI got problem with my JSF project when trying to submit a form that is in my welcome page. I developed small web for which I only have one page with tabPanel into it, for one of my tab, I have a form with submit button, now, whe I click on the submit button, my action listener is never call and I am redirect to http://index.page...
If I access the web site not using the welcome-file mechanisms but directly access my page (http://localhost:8080/Ind
I try either with the jsp-forward strategy and the dummy Index.page file on my root, both of them give me same result.
I'm using jsf 1.2, Facelets 1.1.14, RichFaces 3.3.1.GA
Thanks,
It looks like the naviation handler isn't properly initialize when we're forwarding to the Index.page with welcome mechanism.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
After more investigation, I discover than using context-root "/" in my jboss-web.xml create this problem,
My war is the root web app of my domain then I'm deploying it using context-root "/", but the problem is resolved when using any context-root but "/". But I absolutly need to use context-root "/", I don't want to force enduser to specify address like http://www.mydomain.com/my
No the contactService method is never call, also the validators (the required validator and all other one) are never call.
I try that to specify navigation riule like that :
<navigation-rule>
<navigation-case>
<from-action>#{contact.conta
<from-outcome>Contact</from-o
<to-view-id>/Index.xhtml</to-
</navigation-case>
</navigation-rule>
But it has not resolved the problem, and since I have only one page, I don't need to specify navigation rule, it works perfectly if I'm accessing directly the page http://localhost:8080/Inde
I found a way to always force initialization of the Facelets engine (I discovered forwarding from my welcome jsp page to the my jsf Home page didn't initialize Facelet, I got the solution from the RichFaces sample (the PhotoAlbum), instead of using index.jsp for my welcome page, I'm using static html page responsible to request to refresh page with URL pointing to my home page, here is the html :
<html>
<head>
<meta http-equiv="Refresh" content="0; URL=Home.page">
</head>
</html>
In this way, instead forwarding on the server to my Home.page, the browser will go to my Home.page and then it is similar for the server as I enter http://mydomain.com/Home.p
I got information about a FaceletFilter that is able to trap forward event and then initialize properly Facelets but was unable to find either sample or the class.
Business Accounts
Answer for Membership
by: dravidnsrPosted on 2009-10-24 at 00:32:48ID: 25651181
<servlet> ebapp.Face sServlet</s ervlet-cla ss> tartup>
tern>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.w
<load-on-startup>1</load-on-s
</servlet>
<!-- Just here so the JSF implementation can initialize -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pat
</servlet-mapping>