How do you unsubscribe if you email address has changed?
I know this has been posted before, but I can't remember how... please can you let me know. Thanks.
Life of a class?
Hi, We have implemented a database connection pool class (extract below) and use the 'getInstance' method to ensuire that there is only one instance created at any one time. What we need to know is when will this class be destroyed? Is it went the server is stopped (or crashed!) or will it timeout after a period of non-use? Regards, Neil public class DbPool extends Object implements java.io.Serializable { private static DbPool instance; public static DbPool getInstance(){ if (instance == null) instance = new DbPool(); return instance; } /** Creates new dbPool */ private DbPool(){ /** dbPool code */ } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Session value changes?
Hi, We have a JSP page with an HTML form. The form does a POST to a servlet and if validation of the posted data fails, it uses RequestDispatcher to return to the JSP page with a suitable error message (otherwise it goes to another page). We have discovered that the session id is changing if the validation fails and goes back to the JSP page - can anyone tell me why? We thought the session id would remain constant until it either times-out or is explicitly invalidated... Regards, Neil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]