| Author |
Problem with simple filter and JSF
|
Fabio Cunha
Greenhorn
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
web.xml
LoginFiltro.java
login.xhtml
GravaUsuario.java(part 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.
|
OCJP6, OCWCD5
|
 |
Fabio Cunha
Greenhorn
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: 14456
|
|
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:
to:
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
Greenhorn
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
|
 |
 |
|
|
subject: Problem with simple filter and JSF
|
|
|