I have two servlets in my project:
- The login servlet tooks the username and the password, checks if
user data is correct and eventually returns the name of the related
database;
- The debug servlet for now can only output a string.
In MainEntryPoint I call the login servlet before the debug
I have two servlets in my project:
- The login servlet tooks the username and the password, checks if
user data is correct and eventually returns the name of the related
database;
- The debug servlet for now can only output a string.
In MainEntryPoint I call the login servlet before the debug
in the specification, so is the serlvet container decide,
unpredictable).
Juan
2011/8/4 Luca Meloni lmelon...@gmail.com
I have two servlets in my project:
- The login servlet tooks the username and the password, checks if
user data is correct and eventually returns the name of the related
);
}
private void login(HttpServletRequest req) {
// If is a POST login.
if (POST.equals(req.getMethod())) {
validateData(req);
}
}
In validate data check info and create/invalidate session.
Hope helps.
2011/8/4 Luca Meloni lmelon...@gmail.com
OK I read