out.println in jsp

Hi,I would like to create a method containing an out.println function in jsp.A method must be declared in the jsp declarations <%!%>That means I cannot use the out.println function.Could someone please help me?Thanks
[264 byte] By [hochoia] at [2007-10-3 11:22:22]
# 1
What are you trying to achive? System.out.println is still working in JSP and write to the log file of the server. If you want to write into the page, just display the text as <%= myMessage %>
MartinHilperta at 2007-7-15 13:47:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I would like to build a tree. Therefore I need to write a function that calls itself. Inside the function I would like to output nodes into html page.
hochoia at 2007-7-15 13:47:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
This would probably be better done in a custom tag but if you want to do it in a method then pass the out Object as a parameter to the method.
tolmanka at 2007-7-15 13:47:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...