Re: Rewrite – Ignore a request that mathches a pattern.

Splash Forums PrettyFaces Users Rewrite – Ignore a request that mathches a pattern. Re: Rewrite – Ignore a request that mathches a pattern.

#23050

Did you add the JSF integration module to your classpath?

You are using JSF managed bean annotations on your class. So the CdiExpressionLanguageProvider won’t work here. If you add the JSF integration module to your classpath, there should also be a FacesExpressionLanguageProvider that should work.

However, I don’t recommend to use the JSF managed bean annotations at all. As you are deploying to a JEE container, you should use CDI instead. This would look similar to this:

import javax.inject.Named;
import javax.enterprise.context.SessionScoped;

@Named
@SessionScoped
public class MyBean {
private String key;
public void load(){
// log the key here
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
}

And don’t forget to add the beans.xml file. :)