SV:FW: g--.

2010-12-04 Thread rams
Recently, I bought some presents from a commercial site for Christmas, all the products can enjoy a big discount, it is worth visiting: cnelebuy.com , for the Christmas more one choice. 6--. - To unsubscribe, e-mail: user-unsubscr

example of Struts2 TypeConverter for a bean

2010-12-04 Thread Adam Brin
Does anyone have or know a good working example of TypeConversion with annotations for beans in Struts2 beyond the documentation on the wiki, I seem to be missing something, and I can't get the following example to work with the struts2 freemarker tags: http://struts.apache.org/2.x/docs/type-co

Re: the result of the interceptor

2010-12-04 Thread Chris Pratt
It doesn't make much of a difference what you return after you call invocation.invoke(), but since you can opt not to call it and just return "login-required" or "password-reset", you can use it to control the flow of the application, just make sure you do it before you call invoke =8^) (*Chris*)

the result of the interceptor

2010-12-04 Thread maven apache
Hi: I am reading the book Struts2InAction,it is rather powerful. And I thought someting funny when reading the interceptor chapter: Example: public String intercept(ActionInvocation invocation) throws Exception { long startTime = System.currentTimeMillis(); //1 String result = invocation