The translation of JSP file to Java file shows that all the expressions are transformed to out.print() method while all the HTML template text is written using out.write() . Why so ? Any inputs ? [ June 01, 2008: Message edited by: SIM KIM ]
posted 8 years ago
Take a look at the relevant APIs.
What do you think the type of a rtexpr would be? What do you think the type of "template text" would be?
Based on this knowledge which calls in the API would you use? There is a method print(Object). There is no method write(Object) write(String) exists however.