<!doctype html>
<html>
<head>
<title>Servlet and JSP Examples</title>
<base href="https://workshop.sps.nyu.edu:9999/" /> <!-- notice the port number -->
</head>
<body bgcolor="lightyellow">
<h1 align='center'>Servlet, JSP and Web Services</h1>
<h3 align='center'>(using Tomcat running on port :9999)</h3>
<table BORDER=0 CELLSPACING=5>
<tr>
<td width=230px></td><td width=205px><b><u>Servlet</td><td></td><td width=400px><b><u>JSP</td>
<tr>
<td>Hello World :) </td><td><a href="servlet/example0">servlet/example0</a></td>
<td> </td><td><a href="jsp/example0.jsp">jsp/example0.jsp</a></td>
<tr>
<td>Simple Ordering Application </td><td><a href="html/example1_srv.html">html/example1_srv.html</a></td>
<td> </td><td><a href="html/example1_jsp.html">html/example1_jsp.html</a></td>
<tr>
<td>Validation on Separate Page </td><td><a href="html/example2_srv.html">html/example2_srv.html</a></td>
<td> </td><td><a href="html/example2_jsp.html">html/example2_jsp.html</a></td>
<tr>
<td>Validation on Same Page </td><td><a href="servlet/example3">servlet/example3</a></td>
<td> </td><td><a href="jsp/example3.jsp">jsp/example3.jsp</a></td>
<tr>
<td>All Form Elements </td><td><a href="servlet/example4">servlet/example4</a></td>
<td> </td><td><a href="jsp/example4.jsp">jsp/example4.jsp </a></td>
<tr>
<td>Address Book Application </td><td><a href="servlet/example5">servlet/example5</a></td>
<td> </td><td><a href="jsp/example5.jsp">jsp/example5.jsp </a></td>
<tr>
<td>
<tr>
<td width=200px></td><td width=205px><b><u>REST Web Service</td>
<tr valign=top>
<td>Address Book Web Service </td><td><a href="javascript:void()" onClick="open('html/rest/RESTaddrbook.html','','height=330,width=370,resizable=no,location=no')"> html/rest/RESTaddrbook.html </a>
<br><a href="html/rest/RESTaddrbook2.html">html/rest/RESTaddrbook2.html</a></td>
</tr>
<tr>
<td>SQL Web Service </td><td colspan=3><a href="servlet/SQLService?user=demo&pswd=demo&db=demo&dbtype=mysql&sql=select * from instructor&format=json">servlet/SQLService?user=demo&pswd=demo&db=demo&dbtype=mysql&sql=select * from instructor&format=json</a></td>
</tr>
<tr>
<td>Full SQL Web Service UI (Java) </td><td><a href="html/rest/RESTuse.html?lang=java">html/rest/RESTuse.html</a></td>
</tr>
<tr>
<td>(same using PHP, Python, or Perl) </td><td><a href="https://workshop.sps.nyu.edu/~sultans/util/rest/RESTuse.html?lang=php">util/rest/RESTuse.html</a></td>
</tr>
</table>
</body>
</html>