Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Enabling CSRF protection in JSF 2.2 app causes error  RSS feed

 
Dmitry Perv
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I enable csrf protection in faces-config as follows:

When I try to open the page in browser I get following error:
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My suspicion is that since the tag you're using has a url-pattern, but you've declared it using what looks like a resource path, that the pattern doesn't resolve properly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!