problem in executing jsp,
April 25, 2009 at 4:22 PM
hi! i have sucessfully installed apache tomcat and also set the path for it,but when i am executing a jsp page the html contents are getting executed but thejsp part is not getting executed. as example: <html> <body> <p> </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"> Date Example</font></td>
</tr> <tr> <td width="100%"><b> Current Date and time is: <font color="#FF0000">
when iam executing the code then i am getting the output as: <% // This is a scriptlet. Notice that the "date" // variable we declare here is available in the // embedded expression later on. System.out.println( "Evaluating date now" ); java.util.Date date = new java.util.Date(); %> Hello! The time is now <%= date %>