Re: Client Session Timeout

2010-06-16 Thread Mike Jiang
Except for that, you can set a fixed timeout in your app's web.xml. For instance, session-config session-timeout15/session-timeout /session-config Here the time is in minute. Mike J. On Wed, Jun 16, 2010 at 9:44 AM, jhulford jhulf...@gmail.com wrote: The session interface has the method

Re: How can I prevent from reloading the page when the reload button on browser is clicked?

2010-06-01 Thread Mike Jiang
it. Which is what is done in the CloseHandler in your example script. What federico wants to say is you should use history-tokens to save your states. history Use Refresh, Back, Forward as a feature and not a catastrophe, with the the help of GWT History support. On Jun 1, 6:57 am, Mike Jiang

Re: How can I prevent from reloading the page when the reload button on browser is clicked?

2010-06-01 Thread Mike Jiang
got my point. Page reloading is something that is done by the User and it can't be avoided. Its up to the programmer that the user receives the same interface even if he/she refreshes the page at any state of the application. On Jun 1, 6:43 pm, Mike Jiang mikej1...@gmail.com wrote: Thanks

Re: How can I prevent from reloading the page when the reload button on browser is clicked?

2010-05-31 Thread Mike Jiang
Don't get it. Please show your good design in an understandable style. On Fri, May 28, 2010 at 4:49 PM, federico federico.mona...@gmail.comwrote: bad design. refresh is a feature and you should provide bokmarkable refresh-save pages. On 28 Mag, 20:42, Mike J mikej1...@gmail.com wrote:

Re: gwt-html5-media

2010-05-26 Thread Mike Jiang
It's a very good try. I was wondering how I can get the whole thing as a project from within the Eclipse without downloading them piece by piece? Thanks, Mike J. On Wed, May 26, 2010 at 4:16 PM, Mark Renouf mark.ren...@gmail.com wrote: I've been sitting on a couple widgets I developed for a

How can I clone an object in GWT?

2010-05-20 Thread Mike Jiang
I tried to use History class to manage the handling of the back/forward functioning of the browsers. In order to do that, I need to save the screens with state to a collection, such as a HashMap, hmap. For example, the screen is represented by a Composite object, compObject, which contains a

Re: How can I clone an object in GWT?

2010-05-20 Thread Mike Jiang
(or are about to capture). Be sure to add a flag or something so your change handler does not do this unnecessary restore when you are manually adding history items. On May 20, 7:33 am, Mike Jiang mikej1...@gmail.com wrote: I tried to use History class to manage the handling of the back/forward

Re: error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-13 Thread Mike Jiang
servlet-namegreetServlet/servlet-name url-pattern/myproject/greet/url-pattern /servlet-mapping to servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/myproject/greet/url-pattern /servlet-mapping 2010/5/6 Mike Jiang mikej1...@gmail.com