I have very quick question. I am trying to working userinput form.
but When I run it its give me 500 Internal Server Erroor. Here is
the example that I trying to use.
File jspformtest1.htm
<html>
<body>
<form method="POST" action="jspformtest2.jsp">
Please enter your name:<br>
<input type="text" name="Name"><br>
<input type="submit">
</form>
</body>
</html>
File jspformtest2.jsp
<html>
<body>
<% String strName = request.getParameter( "Name" ) ;
if ( strName.length() == 0 )
%>
Please enter a name and try again.
<% else %>
Hello, <%= strName %>
</body>
</html>