Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
Example show you how to use the out object in jsp method .
Code:
<HTML> <HEAD> <TITLE>Use the out Object in JSP defined Method</TITLE> </HEAD>
<BODY> <H1>Use the out Object in JSP defined Method</H1> <%! void printmyname(javax.servlet.jsp.JspWriter out) throws java.io.IOException { out.println("My name is Tom"); } %>
<% printmyname(out); %> </BODY> </HTML>
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )