Dear aruna,
write(String) method is of java.io.Writer class which is extended by JspWriter class, who(JspWriter) is abstract in nature.
So the write(String) method comes through that channel, where as print(String) is a method of JspWriter class.
=> The Print(String) method in API has written following statements:
the string's characters are converted into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the Writer.write(int) method.
So, It is obvious that, Methods do not hv technical difference between them, but the important part plays by print(String) method is while converting to platform's default character encoding.
Hope i m clear enough,
Best regards, Dharmin
SCJP2 (93%),SCWCD(88%)<br />-------------------------------<br />Never under estimate yr self, just represent yr profile in proper manner.