Reply To: view-id is getting ignored and everything gets redirected to my "welcome-file"
Splash › Forums › PrettyFaces Users › view-id is getting ignored and everything gets redirected to my "welcome-file" › Reply To: view-id is getting ignored and everything gets redirected to my "welcome-file"
Ok, I created a new application, with only JSF and Prettyfaces as dependencies. I still have the same problem, I must be missing something…
My complete log file for the sample application:
Jun 06, 2013 4:31:16 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor C:\Users\Tiago Peres\AppData\Roaming\NetBeans\7.3\apache-tomcat-126.96.36.199_base\conf\Catalina\localhost\sample.xml Jun 06, 2013 4:31:16 PM com.sun.faces.config.ConfigureListener contextInitialized INFO: Inicializando Mojarra 2.1.22 ( 20130508-2000 https://svn.java.net/svn/mojarra~svn/tags/2.1.22@11945) para o contexto '/sample' Jun 06, 2013 4:31:17 PM com.sun.faces.spi.InjectionProviderFactory createInstance INFO: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas. Jun 06, 2013 4:31:17 PM org.ocpsoft.rewrite.faces.RewritePhaseListener INFO: RewritePhaseListener starting up. Jun 06, 2013 4:31:17 PM org.apache.catalina.util.LifecycleBase start INFO: The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sample]] after start() had already been called. The second call will be ignored.
My sample application has:
I’m annexing all of these files to this post (unless index.jsp, due to the limit of 4 annexes per post).
I saw an example of web.xml for Prettyfaces including the RewriteFilter, for what you said before it’s not necessary, but I tried it anyway, when I do it, I get a lot of log from Prettyfaces, although it still doesn’t work.