-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: some question on doFilter!!!
PostPosted: Mon Apr 26, 2004 6:09 am 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
here is the code:
Code:
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
         .....
         some java code 1;
         chain.doFilter(request, response);
         some java code 2;
         .....
}


1.when,and how some java code1 start??
2.when,and how some java code1 end??
3.chain.doFilter(request, response); can do what??
4.when,and how some java code2 start??
5.when,and how some java code2 end??

thanks a lot!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 26, 2004 6:13 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
it's not a "servlet" forum here

don't you have debugging tool to understand that?


Top
 Profile  
 
 Post subject: sorry,i talk some servlet question!
PostPosted: Mon Apr 26, 2004 7:13 am 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
is it true?

the client exchange date with server(http,80),the filter start,when the whole http return client from 80,the filter end?

does my understand is right?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.