• Post Reply Bookmark Topic Watch Topic
  • New Topic

log usage in jsp programs  RSS feed

 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
can one help me regarding how to use logs in jsp or servlet programs......i developed web application in it the admin module had the facility to see what are the modifications done by the user.....it is possible by using logs.....but i am unable to code where to write the log files.....
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
madhuri kunchala wrote: can one help me regarding how to use logs in jsp or servlet programs......


Plan to implement Log is Good. but dont do it in Jsp. Business Logic should go to Java class so, Log implementation should be there , and Log in servlet is Acceptable .

IMO, dont spoil the jsp with Log Implementation.

P.S. You can use Log4j for logging your activities
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!