What is the difference between the two and when to best use?
Certifications: <br />scp2, scea, scwcd, WL7.0, CISSP, XML
Joined: May 16, 2001
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.