Re: How can handle URL ?

Splash Forums PrettyFaces Users How can handle URL ? Re: How can handle URL ?

#21359

thanhtung90
Participant

Actual i don’t understand, i follow your tutorial, even i copy because i fear confuse by myself, but current with Snapshots “prettyfaces-jsf2-3.3.1-20110919.063144-23-sources.jar” combine 2 codes above i still got result null. No warning, no error.

This is my web.xml:

<filter>
<filter-name>Pretty Filter</filter-name>
<filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>
<async-supported>true</async-supported>
</filter>

<filter-mapping>
<filter-name>Pretty Filter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ASYNC</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<context-param>
<param-name>com.ocpsoft.pretty.BASE_PACKAGES</param-name>
<param-value>controller.abc</param-value>
</context-param>