I have a really simple action forward just like many I've used in the past.
I am getting this error on JRun 3.1 EE. I have included an excerpt from my
struts-config.xml and my action class to see if you y'all see something I
just do not...I just added the redirect="true" and it does the same thing.
Thanks for any help you can give me here! :-)
Jon Brisbin
Lamar, MO
[EMAIL PROTECTED]
java.lang.IllegalArgumentException: URI is null
at
allaire.jrun.servlet.JRunSE.getRequestDispatcher(../servlet/JRunSE.java:1937
)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1750)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
at
allaire.jrun.session.JRunSessionService.service(../session/JRunSessionServic
e.java:1082)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:89)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
My struts config excerpt follows:
<!-- ========== Action Mapping Definitions
============================== -->
<action-mappings>
<!-- Create Category action -->
<action path="/AddCategory"
type="com.rrlures.struts.AddCategory"
name="categoryForm"
scope="request"
input="/catalog/admin.jsp">
<forward name="success"
path="/catalog/admin-updated.jsp"
redirect="true" />
</action>
</action-mappings>
My action class forwards like such:
// Set our utility objects
HttpSession session = request.getSession(true);
MessageResources messages = getResources();
CategoryForm form = (CategoryForm)actionForm;
request.setAttribute("formxml", form.getXml());
getServlet().getServletContext().log("Forwarding to success.");
return (new ActionForward("success"));