new to JSP - Basic doubt

[nobr]I am very new to JSP.

Just wrote my first program and deployed it in Apache Web Server.

<html>

<head>

Title

</head>

<body>

<br>

<b>Heading</b><br>

This is the body<br>

Below are the JSP program.

<!--%@ page language="java" %-->

<% out.println("Hello World..............................................."); %>

</body>

</html>

Above works fine.

How does the program get reference tooutobject ofPrintStreamclass since we have directly used out.println?

if I replace the line <% out.println("Hello World..............................................."); %>

with <% System.out.println("Hello World..............................................."); %>

it doesent seem to work.

Am I missing on something very basic?[/nobr]

[1063 byte] By [jaaya] at [2007-11-26 15:56:44]
# 1
out is an object of JspWriter, not standard output which prints to console of web server (if it has any)
Maris_Orbidansa at 2007-7-8 22:17:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks Maris, I got the point. But when is this JspWriter object created ?. Is it created when the server is started?
jaaya at 2007-7-8 22:17:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
out is an implicit object in jspImplicit objects are created by the web container
arunmp25a at 2007-7-8 22:17:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...