Mega Code Archive
Categories
/
Java
/
JSP
Declaration Tag - Methods
<%! private String getName() { return "Rosy"; } private int getAge() { return 6; } %>
Declaration Tag - Methods
<%= getName() %>, age <%= getAge() %>, is one funny kid!