users@glassfish.java.net

Re: why can i use System.out.printf in gfv2

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Fri, 18 Dec 2009 10:00:07 -0500

> for j2ee components -- i cannot use System.out.printf or
> System.out.format
>
> i can use System.out.println
>
> i recently tried to inside an EJB -- and will not compile; i tried
> yrs ago and simply gave up.

It works just fine for me. It might be the JDK you're using since
printf and format are new since JDK 1.5, but println has always been
there.

Cheers,
Bobby