Mega Code Archive

 
Categories / Java / JSP
 

Passing the out Object to a Method

<HTML>   <HEAD>     <TITLE>Passing the out Object to a Method</TITLE>   </HEAD>   <BODY>     <H1>Passing the out Object to a Method</H1>     <%!     void printem(javax.servlet.jsp.JspWriter out) throws java.io.IOException     {         out.println("Hello from JSP!");     }     %>     <%         printem(out);     %>   </BODY> </HTML>