java.lang.IllegalStateException:Cannot call sendRedirect() after the response has been committed
posted 3 years ago
Hello,i am beginner in JSF. I had this exception " java.lang.IllegalStateException:Cannot call sendRedirect() after the response has been committed" and i could not solve this. Also i searched it in other web pages. But i had not clear solution. Does somebody know the clear solution? Thanks for any help.
posted 2 years ago
That looks like user-defined login code. I have a standard disclaimer for user-created security systems: the technical term for such things is "hacked". Or "pWned". User-designed security systems are notoriously insecure. I recommend using the J2EE standard security system instead. It has proven security, it's already installed in even the most basic J2EE servers (such as Tomcat), it's well-documented, it's already debugged, and it doesn't require special code to do most of its functions.