python - Printing Request debug information on a Java Servlet -
python - Printing Request debug information on a Java Servlet -
i find extremely useful when doing django/python web development inspect http request this:
logger = logging.getlogger(__name__) def index(request): logger.info(request) is there similar java servlet?
public void doget(httpservletrequest request, httpservletresponse response) throws servletexception, ioexception { // debuginfo should print similar in django debuginfo(request); }
since got no answers, i wrote little helper class help me issue. hope else finds interesting , useful.
java python django java-ee servlets
Comments
Post a Comment