This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes print.out vs System.out.print Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "print.out vs System.out.print" Watch "print.out vs System.out.print" New topic

print.out vs System.out.print

Stewart Williams

Joined: Jul 15, 2002
Posts: 4
I am attempting to create a bean the produces dynamic output to the called function from a JSP. I have the data producing the output but not sending it to the JSP. In JSP I could simply use the syntax out.print(variable), but in a bean I can't. Is it possible to extend a class to have the ability to use out.print? If so how? System.out.print does produce the desired effect but not to the HTML format. What's the difference?
Thanks in Advance,
Newbie Stewart
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Stewart this is a JSP question, I'll move it there for you...

I agree. Here's the link:
subject: print.out vs System.out.print
Similar Threads
Pls help : How to print html in class file?
Using struts tag library inside one I am developing
Scripting Invalid and EL Ignored elements not working?
print.out vs System.out.print
please help me with the ouput