• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

logging messages and error handling in weblogic6.0

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,
I am using weblogic 6.0 and i need to log all the messages of the System.out.println()
and System.err from the servlets and jsp. So can anyone please explain me in detail
as how to go about this. I looked for the documentation in the bea site but was confusing.
So a bit of detailed
explaintion in this regard would be highly appreciable.(is it possible without using
weblogic api for logging and if no then how to go about the api)

Another question i have is i am using mvc where servlets act as controllers and
jsp as the views. Though i am taking enough care with exception handling. I want to
have a generalised page which would be called in case of any unhandled error and would
log the exception into the log file. In my previous project i would do this in the
error page because i was using only jsp's now since i have servlets too is there a
way by which i can call the error page of jsp or is there any other alternative. I
saw the <error-page> alternative in the web.xml but you need to mention error page
for each possible exception. What i need is exactly like an errorpage in jsp where
i define only a single generalised page
Thanks
 
We noticed he had no friends. So we gave him this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic