In ASP, there\'s request.form
and request.queryString
attributes, but in Java. It seems like we have only one collection, which can be accessed via
I did this inside my Filter so maybe someday someone can use this.
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse,FilterChain filterChain) throws IOException, ServletException {
HttpServletRequest sreq = (HttpServletRequest)servletRequest;
System.out.println(sreq.getMethod());
}