My requirement was to read the HTTP request body 2 times in servlet filter and the pass the request to filter chain. HttpServletRequestWrapper helped me.
Servlets are Java classes that conform to the Java Servlet API, which allows a Java class to respond to requests. Although servlets can respond to any type of request, they are most commonly written to respond to web-based requests. A servlet must be deployed to a Java servlet container in order to become usable. Although […]
If you are working on a web application and you define the taglibs in your web.xml file then you may encounter this exception. The exception trace in server console looks like this when you start up the server. Solution You just need to confirm the allowed tags by web.xml confirming DTD file. e.g. version=”2.5″ compatible […]