Simon,

It looks like (because of the <br>) that code is in a jsp of yours.  If 
that's true, out.println(String) does not go to standard output; it goes 
to the response stream back to the browser (do a view/source in your 
browser and you should see it).

If you want to go to real standard output, code in 
System.out.println(String), not just out.println(String).  "out" without 
the "System" is an implicit JspWriter object.

David

--

Simon Moses wrote:

> Hi there,
> 
>  
> 
> I am trying to activate some debug in the petstore application.  The 
> code is below:
> 
>        if (verbose) {
>             out.println("<br>Connection is " + con);
>             out.flush();
> 
>        }
> 
>  
> 
> However, when I start JBoss with the application, the debug does not 
> seem to appear anywhere.  Can anyone tell me where standard output gets 
> put with JBoss? (ie is it supposed to go to the console shell that I 
> started JBoss in, is it supposed to go to the system.log etc)
> 
>  
> 
> Cheers,
> 
> Simon Moses,
> EMAIL:  [EMAIL PROTECTED] <outbind:[EMAIL PROTECTED]>
> 
>  
> 
>  


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to