Link to home
Start Free TrialLog in
Avatar of prain
prainFlag for United States of America

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?
Avatar of bloodredsun
bloodredsun
Flag of Australia image

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
Avatar of radarsh
radarsh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of prain

ASKER

I am using tomcat 5.5
Avatar of prain

ASKER

radarsh,

Thanks for the tip. It actually creates stdout_20060320.log file that contains the System.out.println() output.

Thanks
prain
Avatar of radarsh
radarsh

Thanks.

________
radarsh