hi all
i have created a simple jsp application in weblogic platform to authenticate the customerid.The user interface that recieves the id is written in html page..and the i am trying to authenticate the recieved id in jsp page and display a error page in jsp..my problem is how do i deploy the jsp application in weblogic platform...like how do i redirect my html page after getting the id to the jsp page that authenticates the customer??
here is the code:
LoginErrorPage.html
<html>
<body>
<form method=post action="AuthenticateCustomer.jsp">
<font size=4 face="Verdana" color=#120292>
<marquee>Online Banking System</marquee>
<br>
<br>
<table cellspacing=5 cellpadding=5 bgcolor=#959999 colspan=2 rowspan=2 align="center">
<tr>
<td>Bank Customer Authenticate Form</td>
</tr>
<tr>
<td>Enter Customer id:</td>
<td><input type=text name="uname"></td>
</tr>
<tr>
<td>Enter Password:</td>
<td><input type=password name="password"></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td><input type="submit" value="Login"></td>
<td><input type="Reset" value="Cancel"></td>
</tr>
</table>
</font>
</form>
</body>
</html>
AuthenticateCustomer.jsp
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page errorPage="LoginErrorPageJsp.jsp"%>
<%@include file="LoginErrorPage.html" %>
<html>
<body>
<font face="verdana">
<%
String user=request.getParameter("uname");
int customerID=Integer.parseInt(user);
String pass=request.getParameter("password");
if(customerID ==1010 && pass.equals("parvathi"))
{
out.println("Welcome to Online Banking");
%>
<br>
<br><%
out.println("Login Successful");
}
else
{
out.println("Login Unsuccessful");
}
%>
</font>
</body>
</html>
</body>
</html>
My Question is how do i map or redirect the html page to jsp page using weblogic platform??
thanks
gayathriy
[ November 18, 2006: Message edited by: Bear Bibeault ]