javax.servlet.Filter
public class ExecuteAlwaysFilter extends Object implements javax.servlet.Filter
Constructor | Description |
---|---|
ExecuteAlwaysFilter() |
Modifier and Type | Method | Description |
---|---|---|
void |
destroy() |
|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
|
org.itracker.services.ITrackerServices |
getITrackerServices() |
|
void |
init(javax.servlet.FilterConfig filterConfig) |
|
protected static void |
saveErrors(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMessages errors) |
Save the specified error messages keys into the appropriate request
attribute for use by the <html:errors> tag, if any messages
are required.
|
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
protected static void saveErrors(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMessages errors)
Save the specified error messages keys into the appropriate request attribute for use by the <html:errors> tag, if any messages are required. Otherwise, ensure that the request attribute is not created.
request
- The servlet request we are processingerrors
- Error messages objectpublic void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public org.itracker.services.ITrackerServices getITrackerServices()
Copyright © 2002–2019 itracker. All rights reserved.