高手请进 有关EJB实体的问题
...
String username,password;...
public boolean checkCustomer(String name,String pwd){
String namee=name;
String pwdd=pwd;
if(username.equals(namee)) {
if(password.equals(pwdd))
return true;
else
return false;
}
else
return false;
}
请问这个方法里的 if 语句有错吗?
在调用时一直出现的错误:
org.apache.jasper.JasperException: javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException
root cause
javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException