gudii9
asked on
servlet filter
Hi,
I am going thorugh below example
http://www.javatpoint.com/servlet-filter
When i click on Index.html link i was lead to below url
http://localhost:8080/Filter/servlet1
with
message diplayed as below on the page(or browser? what is difference)
filter is invoked before
welcome to servlet
filter is invoked after
I wonder what below line do
chain.doFilter(req, resp);
please advise
Any links resources ideas highly appreciated. Thanks in advance
I am going thorugh below example
http://www.javatpoint.com/servlet-filter
When i click on Index.html link i was lead to below url
http://localhost:8080/Filter/servlet1
with
message diplayed as below on the page(or browser? what is difference)
filter is invoked before
welcome to servlet
filter is invoked after
I wonder what below line do
chain.doFilter(req, resp);
please advise
Any links resources ideas highly appreciated. Thanks in advance
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
yes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Filter is configured for servlet1 so
chain.doFilter(req, resp);
leads to servlet1 right. please advise