users@glassfish.java.net

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

From: emiddio-verizon <emiddio_at_verizon.net>
Date: Fri, 18 Dec 2009 12:08:14 -0800

i use jdk1.6.0_16; same issue; both 32/64bit

i use nebeans6.8 -- its configured to use jdk1.6.x also
the glassfish is setup to use jdk1.6.x also

thanks for feedback
gary

  ----- Original Message -----
  From: Bobby Bissett
  To: users_at_glassfish.dev.java.net
  Sent: Friday, December 18, 2009 7:00 AM
  Subject: Re: why can i use System.out.printf in gfv2


    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