Re: Session Expired Interceptor

2013-01-11 Thread Dave Newton
I'm actually surprised it's not erroring out since the global result should be a redirectAction since you're not forwarding to a JSP. Dave (On mobile device, please forgive typos, bizarre autocompletes, and top- quoting.) On Jan 11, 2013 10:17 PM, "BetBasoo, Peter" wrote: > I have written a si

Session Expired Interceptor

2013-01-11 Thread BetBasoo, Peter
I have written a simple interceptor to check for an expired session. Here's the code: public class ExpiredSessionInterceptor extends AbstractInterceptor implements Constants { private static final long serialVersionUID = 1L; private String excludeActions = ""; public synchroni

Re: iterable tag

2013-01-11 Thread Chris Pratt
Can you cut and paste your code into the email so we can see? (*Chris*) On Fri, Jan 11, 2013 at 11:12 AM, fusillator wrote: > Hi all, I'm new to struts2/java matters, so be sympathetic please. > > I've a question about tag > > I recently used it to loop on a Iterable collection of type > ja

iterable tag

2013-01-11 Thread fusillator
Hi all, I'm new to struts2/java matters, so be sympathetic please. I've a question about tag I recently used it to loop on a Iterable collection of type java.util.TreeMap$Values retrieved by the method java.util.TreeMap.values() getting the following cast exception: 2013-01-11 18:45:00,520

Re: AnnotationValidationConfigurationBuilder.validationFactory is null after updating from 2.2.1.1 to 2.3.8

2013-01-11 Thread Lukasz Lenart
Nope, the cause is missing and type of the Exception like below: Exception in thread "main" java.lang.IllegalStateException: A book has a null property at com.example.myproject.Author.getBookIds(Author.java:38) at com.example.myproject.Bootstrap.main(Bootstrap.java:14) Caused by: j

Re: AnnotationValidationConfigurationBuilder.validationFactory is null after updating from 2.2.1.1 to 2.3.8

2013-01-11 Thread Jan-Olav Eide
I think what I just posted is the whole trace ? On 11 January 2013 10:00, Lukasz Lenart wrote: > Could you post the whole stack trace? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/1/11 Jan-Olav Eide : >> After updating, I now receive the following stack trace

Re: AnnotationValidationConfigurationBuilder.validationFactory is null after updating from 2.2.1.1 to 2.3.8

2013-01-11 Thread Lukasz Lenart
Could you post the whole stack trace? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/1/11 Jan-Olav Eide : > After updating, I now receive the following stack trace when executing > certain operations. As can be seen, this stack-trace onvolves none of > my code, so I am not su

Re: Different session handling between websphere and tomcat

2013-01-11 Thread Lukasz Lenart
Thanks a lot, can I add your note to the page regarding WebSphere in the docs [1] ? [1] http://struts.apache.org/2.x/docs/websphere.html Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/1/10 Vineet Kanwal : > > IBM WebSphere Application Server uses the JSESSIONID informat