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
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")
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)
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
--- 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
5 matches
Mail list logo