This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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
"javahelp", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements. This name is obviously a pseudonym, and will be turnd off soon, so please choose a new name immediately. Thanks.