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

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -