We are calling a servlet from the action of a
html page, which is a simple login page.The servlet performs the business logic & matches the username & password with the data base.If the information entered is correct it send the response to the next
jsp page.
The whole process is working fine when we run it locally using Jdeveloper.But when we upload the pages on our Linux web server(Apache Tomcat 5.0.27), the login
html page is being displayed & when any button is clicked on this page , it says "Page not found" or HTTP404 Resource not found" error.
Is it because we are creating the application on Windows & then uploading on Linux web server?
This is the login page which transfers the action to emploginServlet:
<
html>
<head>
<meta
http-equiv="Content-Type" content="text/
html; charset=windows-1252">
<title>AUTHENTICATION</title>
</head>
<body>
<form method="POST" action="/servlet/emploginServlet">
</P>
</P>
<FONT size="6">Welcome to Theory Yes!</FONT>
</P>
</P>
User Id
<input type="text" name="userid"/>
</P>
Password
<input type="password" name="userpswd"/>
</P>
</P>
<input type="submit" value="Submit" name="submitbutton"/>
<input type="reset" value="Reset" name="resetbutton"/>
</P>
</form>
</body>
</
html>
Do you need the Servlet code too?