This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
ServletContext.log() and you can get the servlet context from the session.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Why not to use the implicit object available in your jsp: application itself which is the ServletContext? :roll: application.log("this gets logged to localhost_log.YYYYMMDD"); Which saves your one line of typing at least. [ June 16, 2002: Message edited by: Roseanne Zhang ]