This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
please help me with the ouput
print.out vs System.out.print
Scripting Invalid and EL Ignored elements not working?
Pls help : How to print html in class file?
Using struts tag library inside one I am developing