Can anyone see it..I can't find it
<%
RequestDispatcher dispatcher = request.getRequestDispatcher("/jsp/ErrorPage.jsp");
UserDataVO userData = null;
String username = request.getParameter("username");
String password = request.getParameter("password");
boolean loginOkay = false;
boolean trialOkay = true;
boolean pageError = false;
boolean hasBlanks = false;
String menuType = null;
String adminServer=request.getServerName();
String javaAdminServer=request.getServerName();
if (request.getServerName().startsWith("localhost") || request.getServerName().startsWith("199")) {
adminServer = "zeus.homes.com";
//for redirects, we need apache
javaAdminServer = adminServer + ":8080";
} else if (request.getServerName().equals("zeus.homes.com")) {
adminServer = "zeus.homes.com";
javaAdminServer = adminServer + ":8080";
} else if (request.getServerName().startsWith("atprod")) {
//adminServer = "cp";
adminServer = "atprod.homes.com"; //atprod.homes.com original 10/31/07
//for redirects, we need apache
javaAdminServer = javaAdminServer + ":8080"; // commented out originally. 10/31/07
}
if ((username != null) && (password != null)) {
loginOkay = UserInfoDAO.verifyLogin(username,password);
if (loginOkay) trialOkay = UserInfoDAO.checkTrialOkay(username);
}
if (loginOkay && trialOkay) {
try{
/**
* Get accountInfo based on accountName
*/
if (username != null) {
userData = UserInfoDAO.getUserInfo(username);
}
}catch(Exception e){
request.setAttribute("pageError","An error occured trying to log into control panel.");
dispatcher.forward(request, response);
}
}
%>