* The Locale object for the user. Although (Dedicated web hosting)
* The Locale object for the user. Although Struts stores aLocale for * each user in the session, the locale is also maintainedhere. */ private Locale locale; public UserContainer( ) { super( ); initialize( ); } public ShoppingCart getCart( ) { return cart; } public void setCart(ShoppingCart newCart) { cart = newCart; } public void setLocale(Locale aLocale) { locale = aLocale; } public Locale getLocale( ) { return locale; } /** * The container calls this method when it is being unboundfrom the * session. */ public void valueUnbound(HttpSessionBindingEvent event) { // Perform resource cleanupcleanUp( ); } /** * The container calls this method when it is being bound tothe * session. */ public void valueBound(HttpSessionBindingEvent event) { // Don’t need to do anything, but still have to implementthe // interface method. }
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.