response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("to web");
-----Original Message----- From: Jin Wu [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 10:39 AM To: Tomcat Users List; Antony Paul Subject: Re: how to print to web page instead of catalina.out I tried out.print(). The complation failed. The error is: cannot resolve symbol symbol : variable out Thanks Jin Antony Paul <[EMAIL PROTECTED]> wrote: Why not use out.print() or you are trying to do something else ?. rgds Antony Paul On Tue, 22 Feb 2005 20:26:41 -0800 (PST), Jin Wu wrote: > Hi, > > It seems that System.out.printlin("...") prints to catalina.out. Is there a way I can print to web page? > > Thanks, > James > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]