Output from java code in JSP files not outputting to browser

HI guys, struggling with JSP atm,I currently have the output from the java scriptlets in the JSP pages outputting to the tomcat application window. And not outputting to the web browser.Any help would be much appreciated
[248 byte] By [mullilla] at [2007-10-2 12:27:20]
# 1
How are you producing the output? It sounds like you might be using System.out instead of out.
Gita_Weinera at 2007-7-13 9:21:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
yes i am, this is how the examples from a JSP tutorial where showing it. How do you use the "out"method?
mullilla at 2007-7-13 9:21:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

You're kidding! The examples in the tutorial are using System.out in the jsp and expecting the output to go to the browser? If you have scriptlets, just do something like:

<%

out.println("<P>Some data or whatever you want....</P>");

...

%>

In other words, just substitute out where you have System.out and your output should go to the browser instead of the Tomcat application window.

Gita_Weinera at 2007-7-13 9:21:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Thanks mate. Will be deleting that JSP tute quite quickly. Working a treat now
mullilla at 2007-7-13 9:21:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
By the way, where did you get the tutorial from?I am really curious to know.
Gita_Weinera at 2007-7-13 9:21:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...