File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes JSPWriter difference write vs. print? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "JSPWriter difference write vs. print?" Watch "JSPWriter difference write vs. print?" New topic
Author

JSPWriter difference write vs. print?

andy armstrong
Ranch Hand

Joined: May 14, 2002
Posts: 154
What is the difference between the two
and when to best use?


Certifications: <br />scp2, scea, scwcd, WL7.0, CISSP, XML
Arvind Chavar
Ranch Hand

Joined: May 16, 2001
Posts: 53
The write methods give you limited capability of kind of data types you could write to char[],int , and String.Whereas with print methods you gain flexibilty to write other primitive types and objects.Based on these factors you could choose what you need.
Another point of comparison you would look atis issue of buffering.Neither of them have any advantage over the other as JSP output is buffered by default.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSPWriter difference write vs. print?
 
Similar Threads
Clarification
interview question
WA #1.....word association
Why anonymous posts are allowed in this forum ?
Array Initilaize