Today's date: <%= (new java.util.Date()).toLocaleString()%>

<%! int i = 0; %> int j = 10; <%-- This is JSP comment --%> <%@ directive attribute="value" %>

Select Languages:

Java
.NET
PHP
C/C++
PERL
<% String select[] = request.getParameterValues("id"); if (select != null && select.length != 0) { out.println("You have selected: "); for (int i = 0; i < select.length; i++) { out.println(select[i]); } } %>