ServletActionRedirectResult issue

2008-01-31 Thread Luis Gervaso
Hi, When I try to configure un ServletActionRedirectResult i obtain Caused by: java.lang.NullPointerException at org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getUriFromActionMapping(DefaultActionMapper.java:466) at org.apache.struts2.dispatcher.ServletActionRedirect

Re: ServletActionRedirectResult issue

2008-01-31 Thread Luis Gervaso
My workaround @Result(name="success",value="/jsp/tables/findAllTablesRedirect.jsp", type= ServletDispatcherResult.class) /jsp/tables/findAllTablesRedirect.jsp: <% response.sendRedirect("/eventoos/tables/findAllTables.action?eid="+request.getParameter("eid")+"&etid="+request.getParameter("etid")

Re: ServletActionRedirectResult issue

2008-01-31 Thread Dave Newton
I'm not sure I understand; in your annotation example you deliberately provide a wrongly-named parameter, right? Why? Dave --- Luis Gervaso <[EMAIL PROTECTED]> wrote: > My workaround > > @Result(name="success",value="/jsp/tables/findAllTablesRedirect.jsp", type= > ServletDispatcherResult.class)

Re: ServletActionRedirectResult issue

2008-01-31 Thread Luis Gervaso
Thanks Dave for the reply, If i put the name "etid" an exception is thrown If i put a larger parameter "whateverparametername" or simply "_" as parameter name the redirect works fine, i know it's sounds weird I thought that it the bug could come if the params attribute was a hash but looking at

Re: ServletActionRedirectResult issue

2008-01-31 Thread Dave Newton
--- Luis Gervaso <[EMAIL PROTECTED]> wrote: > If i put the name "etid" an exception is thrown > > If i put a larger parameter "whateverparametername" or simply "_" as > parameter name the redirect works fine, i know it's sounds weird Oh, I'm sorry; I read it backwards (I thought the wrong paramet