<%-- generated by Dynamator Wed Mar 31 19:15:34 CST 2004 --%> <%@ page session="false" %> <%! private String getGreeting() { return "Hello World, says Dynamator!"; } %> <% String countArgument = request.getParameter("count"); int count = ( countArgument == null || countArgument.length() == 0 ) ? 5 : Integer.parseInt(countArgument); %> <%= ( count == 0 ) ? getGreeting() : String.valueOf(count) %> <% if ( count > 0 ) { %><% } %>

<%= ( count == 0 ) ? getGreeting() : String.valueOf(count) %>