hi,
I m new in JSP can any one help me how to start with jsp.
i just download the tomcat. how i write my first program and run it

Thankx in advance:)

by reading the tutorials that come with it and the JEE distribution from Sun.

Apache Tomcat FAQ plus learn from Java EE 5 Tutorial plus there are many good books specialy from O'Reilly

it is very simple,

<html>
<body>
<p>&nbsp;</p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing
="0" width="460" bgcolor="#EEFFCA">
<tr>
<td width="100%"><font size="6" color
="#008000">&nbsp;Date Example</font></td>
</tr>
<tr>
<td width="100%"><b>&nbsp;Current Date 
and time is:&nbsp; <font color="#FF0000">
<%= new java.util.Date() %>
</font></b></td>
</tr>
</table>
</center>
</div>
</body>

save this file with jsp extension and run it in browser,prior to that u have start tomcat server like clicking tomcatfolder/bin/strartup.bat

that's one bad JSP. Scriptlets, no proper headers, etc. etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.