prain
asked on
How to debug Servlets
I am having a bit of a trouble to debug incoming HttpServletRequest parameters.
I cannot use the std. System.out.println() statements to see what the incoming values are.
Is there a way to this?
I cannot use the std. System.out.println() statements to see what the incoming values are.
Is there a way to this?
Either use Log4J for logging or run the servlet in an IDE which allows Debugging and step through such as NetBeans
Please show us your code.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I am using tomcat 5.5
ASKER
radarsh,
Thanks for the tip. It actually creates stdout_20060320.log file that contains the System.out.println() output.
Thanks
prain
Thanks for the tip. It actually creates stdout_20060320.log file that contains the System.out.println() output.
Thanks
prain
Thanks.
________
radarsh
________
radarsh