Re: Problems with my first application

2011-08-04 Thread Luca Meloni
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

Re: Problems with my first application

2011-08-04 Thread Luca Meloni
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

Re: Problems with my first application

2011-08-04 Thread Luca Meloni
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

Re: Problems with my first application

2011-08-04 Thread Luca Meloni
);   }  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