Results 1 to 6 of 6
  1. #1
    wickedrahul9 is offline Member
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    0

    Default difference between system.out.println() & out.println()

    Could anybody please tell what is the difference between System.out.println() & out.println() in JSP ? I have noticed sometimes times the former works & sometimes latter. But I don't know where to use what & the difference between the two.

  2. #2
    ojn
    ojn is offline Senior Member
    Join Date
    Aug 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

  3. #3
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Learn the fundamental differences between a console application and a web application and how they function. If you don't understand that, yet, you shouldn't be playing around with web applications, yet.

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default

    How'd this question get in the advanced thread?
    Learning how to get an instance of a class and to call it's methods must be one of the first things you learn.

  5. #5
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    In jsp out.println means to print smth in browser as a n html page,and System.out.println in which System already says for itself,everything will be printed in console

  6. #6
    wickedrahul9 is offline Member
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by serjant View Post
    In jsp out.println means to print smth in browser as a n html page,and System.out.println in which System already says for itself,everything will be printed in console
    Thanks serjant. I got it

Similar Threads

  1. System.out.println Shortcut
    By AdamCCFC in forum New To Java
    Replies: 23
    Last Post: 11-13-2011, 03:45 PM
  2. System.out.println
    By Sniper-X in forum Advanced Java
    Replies: 10
    Last Post: 05-05-2008, 03:41 PM
  3. System.out.println
    By sunjavaboy in forum Advanced Java
    Replies: 3
    Last Post: 03-22-2008, 01:30 AM
  4. Template for System.out.println
    By eva in forum Eclipse
    Replies: 3
    Last Post: 01-05-2008, 12:46 PM
  5. Help me with system.out.println
    By baltimore in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 08:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •