This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF and Filters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF and Filters" Watch "JSF and Filters" New topic
Author

JSF and Filters

annaunivStud Sboa
Greenhorn

Joined: Oct 29, 2008
Posts: 10
hi ...i am new to jsf and just now heard about filters too.
i used a filter and i wanted to check each time whether the user is logged in user.... how do i do that...i authenticate by querying the relational records(using SDO) how do i do that...i am not able to use getSessionScope().get("sessionvariable") here as i do in other java files....


well i also used system.out.println in the do filter method(will that happen).... it dint print that too.... i know i dint understand something about filters(as far as i know it intercept every httprequest)...
please tell whether the process i did is right???
and how to proceed with it...
thanks
 
Don't get me started about those stupid light bulbs.
 
subject: JSF and Filters
 
Similar Threads
When to use session?
Doubt on Filters
Servlet auto redirect to another page
Question on Spring Security & Spring MVC.
When not to use Servlet filters with Struts? or what are the disadvantages of using servlet filters?