I coded a simple .jsp file with three input fileds.....it compiled well and
is executing well on the server,

but then for the same....file if i add just one tag....i.e

<%@ page language="java" %>

it is not running and is throwing a pagedirective exception, what could be
the problem, pls let me know..

satish

( this is excuting perfectly) but.........

--------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.0.2 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
</HEAD>
<BODY bgcolor="#669999"><H2> THE USER INPUT SCREEN </H2>
<Form method = "post" action ="http://pc27/datahandler.jsp" >
<table>
<tr>
<td>Enter Your NAME </td><td><input type="text" name="NAME" value=""></td>
</tr>
<tr>
<td>Enter Your ADDRESS </td><td><input type="text" name="ADDRESS" value=""></td>
</tr>
<tr>
<td>Enter Your PHONE </td><td><input type="text" name="PHONE" value=""></td>
</tr>
<tr>
<td>Enter Your EMAIL </td><td><input type="text" name="EMAIL" value=""></td>
</tr>
<tr>
<td><input type="submit" name="submit" value="Register"></td>
</tr>
</table>
</form>
</BODY>
</html>

-------------------------------------------------------------------------------------------

this is not excecuting....


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>

<% @ page language="java" %> ( NOT EXECUTING)...................................................PLS
CHECK
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.0.2 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
</HEAD>
<BODY bgcolor="#669999"><H2> THE USER INPUT SCREEN </H2>
<Form method = "post" action ="http://pc27/datahandler.jsp" >
<table>
<tr>
<td>Enter Your NAME </td><td><input type="text" name="NAME" value=""></td>
</tr>
<tr>
<td>Enter Your ADDRESS </td><td><input type="text" name="ADDRESS" value=""></td>
</tr>
<tr>
<td>Enter Your PHONE </td><td><input type="text" name="PHONE" value=""></td>
</tr>
<tr>
<td>Enter Your EMAIL </td><td><input type="text" name="EMAIL" value=""></td>
</tr>
<tr>
<td><input type="submit" name="submit" value="Register"></td>
</tr>
</table>
</form>
</BODY>
</html>