I am developing some custom JSP tags in my SimpleTag.toTag ()
i JspContext
and get JspWriter
to call getOut ()
. When writing JspWriter
, what is the difference between typing (string)
and print
? Should I make a call instead of the other?
The print () method can buffer, write () method inherited from the Writer class and Can not - you can get better performance from the print () method of JspWriter.
Additionally, the print () method is overloaded to take many different types of objects, whereas the writing method is only related to strings and characters.
See for more information.
Comments
Post a Comment