Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JSF and the fly likes Problem with simple filter and JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with simple filter and JSF" Watch "Problem with simple filter and JSF" New topic

Problem with simple filter and JSF

Fabio Cunha

Joined: Mar 25, 2011
Posts: 12
Hi guys, I'm trying to make a login system for users using a filter, my application is done with JSF and Hibernate, but every time I boot up it, I get an error

But the program still works, but I wonder what the cause of this error? someone would have any idea?
I appreciate any help, thanks


login.xhtml of it)

Mike Zal
Ranch Hand

Joined: May 04, 2011
Posts: 144

This should probably be in the JSF forum instead of JSP. Why do you have an EL expression in your web.xml? I was under the impression that you can only have fully qualified, explicit values inside it.

Fabio Cunha

Joined: Mar 25, 2011
Posts: 12
I have EL expression my web.xml to manipulate skins for Richfaces, i sure that is not the problem because i already use that for a long time, but I'll try to post this message in the JSF forum.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16542

Coding suggestion: Always use braces on conditionals. I can't count the number of times I've cause myself grief because I changed something like:


IllegalStateException means that you're trying to do something at the wrong time. Most typically it happens because you attempt to do something like set a header after you've begun sending content.

Customer surveys are for companies who didn't pay proper attention to begin with.
Fabio Cunha

Joined: Mar 25, 2011
Posts: 12
My friend help, the problem is that I don't close the state,

before correction

after correction

thanks for everyone that try to help
jQuery in Action, 2nd edition
subject: Problem with simple filter and JSF