Re: NPE when using Response.sendRedirect(String url) to forward to offsite address.

2009-10-12 Thread Martin Reurings
Hi Cristophe, Thanks for pointing that out, you're a legend! Works a charm! Even after working with T5 for 2 years orso I still get stumped by how simple some solutions are ;) Regards, Martin cordenier christophe wrote: Hello Try by returning a java.net.URL from your activate method. This

Re: NPE when using Response.sendRedirect(String url) to forward to offsite address.

2009-10-12 Thread cordenier christophe
Hello Try by returning a java.net.URL from your activate method. This should work i think. Regards, Christophe. 2009/10/12 Martin Reurings > Hi everyone, > > For various reasons (that are good enough for our team ;) ) we have to make > use of a sendRedirect to forward to an offsite url. This w

NPE when using Response.sendRedirect(String url) to forward to offsite address.

2009-10-12 Thread Martin Reurings
Hi everyone, For various reasons (that are good enough for our team ;) ) we have to make use of a sendRedirect to forward to an offsite url. This works fine when I do so from an event, such as @OnEvent(value=EventConstants.SUCCESS) but throws a NPE when attempting to do so from any phase of t