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

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -