Hi,
I have login page which calls my
servlet.
login.html and LoginHandler.class
they are placed in
appname/servlets/login.html
and appname/web-info/classes/LoginHandler.class
but when I try to login i get error page who points to
http://localhost:8100/servlet/LoginHandler and says "Page Can not be displayed"
What could be wrong?My servlet is fine it is compiled and just it sends every other user valid user.
login.html
=================================================================
<HTML>
<TITLE>Login</TITLE>
<BODY>
<FORM ACTION='/servlet/LoginHandler' METHOD='POST'>
<CENTER>
<TABLE BORDER=1>
<TR><TD COLSPAN=2>
<P ALIGN=CENTER>
Welcome! Please enter your Name<br>
and Password to log in.
</TD></TR>
<TR><TD>
<P ALIGN=RIGHT><B>Name:</B>
</TD>
<TD>
<P><INPUT TYPE=TEXT NAME="name" VLAUE="" SIZE=15>
</TD></TR>
<TR><TD>
<P ALIGN=RIGHT><B>Password:</B>
</TD>
<TD>
<P><INPUT TYPE=PASSWORD NAME="passwd" VALUE="" SIZE=15>
</TD></TR>
<TR><TD COLSPAN=2>
<CENTER>
<INPUT TYPE=SUBMIT VALUE=" OK ">
</CENTER>
</TD></TR>
</TABLE></form></BODY></HTML>
=================================================================
any help is appreciated.
Thanks
Basu