Saturday, December 2, 2006 01:20 AM
Here is a simple program to a jsp.
<%! String str; %>
<% str="hello!"; %>
<%= str %>
Save this file as somename.jsp and paste it in root directory of tomcat . After starting tomcat, open web browser and write http://localhost:8080/somename.jsp in the address bar and run it.