session time out
hello everybody, is there any option in web.xml that i can redirect my request to some other page when session has timed out. Asim - ALL-NEW Yahoo! Messenger - all new features - even more fun!
RE: Parameters and where is log
http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out Where does System.out go? How do I rotate catalina.out? Gabi <[EMAIL PROTECTED]> wrote:I've put the context with his own Logger, I can see all the info of this host here, and in the JavaBean code I've put ServletContext context; context=session.getServletContext(); context.log("test message!!!"); But I don't see this message in the log. And, there is a global way I can define that all the System.err. output has to be printed in a text file? How? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
RE: Parameters and where is log
give the name of the log file in tag and try to view that log file . Asim Ghosh Gabi <[EMAIL PROTECTED]> wrote: I've put the context with his own Logger, I can see all the info of this host here, and in the JavaBean code I've put ServletContext context; context=session.getServletContext(); context.log("test message!!!"); But I don't see this message in the log. And, there is a global way I can define that all the System.err. output has to be printed in a text file? How? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
Re: Parameters and where is log
hello, this is reply to your second query. U have to use tag in server.xml and in code ServletContext context; context.log(""); Asim Ghosh Gabi <[EMAIL PROTECTED]> wrote: Trying to pass from resin to apache, in resin Coonection='jdbc:bla bla...'/> I've put the equivalent in /WEB-INF/web-xml as: "Connection" "jdbc:bla bla..." But the servlet response is a NullPointer, I think it's not taking the value from the session (HttpSession object). What am I doing wrong? The second question is that in the servlet I put a System.err.println(""), I've the same server.xml like the default /examples but using my webapp in change of /examples, so I've search in catalina.out and all the localhost_admin... local_host_examples, I think I've search in all the defined logs files but I don't find the line I've print with System.err, do I've to put something more specific in web.xml or something similar? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself