I have code in a Action looking like this
public ActionForward perfom ....
else {
String forward = "LookupKeyUpdate.jsp?PK_LookupKey=" +
PK + "&Key=" + Key + "&OrderId=" + OrderId +
"&ValidFrom=" + ValidFrom + "&ValidTo=" +
ValidTo;
System.out.println("Forward: " + forward);
ActionForward ret = new ActionForward();
ret.setPath(forward);
System.out.println("Path: " + ret.getPath());
System.out.println("ActionForward: " + ret);
return (ret);
}
the output is:
Forward:
LookupKeyUpdate.jsp?PK_LookupKey=102.0&Key=1&OrderId=2.0&ValidFrom=2001-02-1
2&ValidTo=2003-04-23
Path:
LookupKeyUpdate.jsp?PK_LookupKey=102.0&Key=1&OrderId=2.0&ValidFrom=2001-02-1
2&ValidTo=2003-04-23
ActionForward: ActionForward[null]
<07.09.2001 11:41:34 CEST> <Error> <HTTP>
<[WebAppServletContext(6979480,Lookups,/Lookups)] Servlet failed with
Exception
java.lang.NullPointerException
where is the fault !!!
can you help me please !!