Hello Everyone,
I am trying to call a remote class from JSP page using RMI technique.
I have been able to compile the class as a remotely accessible class
successfully. Now my problem is with JSP page.
I am getting the error that interface class(iValidateUser) is not found.
I am attaching the code.
Can anybody help me ?
<%@ page import = "java.rmi.*" %>
<html>
<head><title>CCMS Login</title></head>
<body bgcolor="white">
<font
size=4>
<%
iValidateUser validate = (iValidateUser)
Naming.lookup("rmi://192.9.44.178/ValidateUser");
validate.DSN = "test";
validate.UID = "";
validate.PWD ="";
validate.userid = request.getParameter("userid");
validate.password = request.getParameter("password");
if (validate.Success() == "1") { %>
Valid User !!!!
<% } else { %>
Not
a valid User !!! Try Again.
<form method=get>
User Id : <input
type=text name=userid>
Password:<input type=text name=password>
<input type=submit
value="Submit">
</form>
<% } %>
</font>
</body>
</html>
Thanx & Regards,
Reeta
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html