wood burning stoves*
The moose likes JSP and the fly likes Logging in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Logging in JSP" Watch "Logging in JSP" New topic
Author

Logging in JSP

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
I need to debug my JSP , so how can i use Log4j inside JSP??


If you want something you never had do something which you had never done
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

If there's Java code in the JSP, the best step is to move it out to a page controller or bean. You shouldn't need to do any logging from a JSP.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Logging in JSP
 
Similar Threads
View the images as four per row instead of long row that is never ending
write javascript function in java ?
passing Enumeration as an Attribute from servlet to jsp
how to set up a navigaeting tree according to the database records?
open excel file