File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF and Filters" Watch "JSF and Filters" New topic

JSF and Filters

annaunivStud Sboa

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...
I agree. Here's the link:
subject: JSF and Filters
Similar Threads
Doubt on Filters
When not to use Servlet filters with Struts? or what are the disadvantages of using servlet filters?
Servlet auto redirect to another page
Question on Spring Security & Spring MVC.
When to use session?