In this tag we can insert any amount of valid java code and these codes are placed in _jspService method by the JSP engine.
a scriptlet - which means Java code within a <% .... %>
Eg : BasicCounter.jsp
<html> <body>
The Page Count is : <% out.println(Counter.getCount()); %>
</html> </body>
output
The page count is :1
Wednesday, April 8, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment