Trying to implement a javax.servlet.Filter

It has a method which is 

public void doFilter(javax.servlet.ServletRequest request, 
javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) 
throws java.io.IOException, javax.servlet.ServletException

But I want to access the session Object to add the other details of the 
companyObject

javax.servlet.ServletResponse does not has access to sessions and so could not 
do that

I think Filter is created with modifying the request and response objects 
before going towards actual JSP pages and not to modify the Session variables

Does anyone has solution to my problem

Thanks in advance

CSJakharia

http://groups-beta.google.com/group/bermuda



 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 


                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

Reply via email to