oracle.jbo.html.struts11
Class BC4JUtils
java.lang.Object
oracle.jbo.html.struts11.BC4JUtils
- public class BC4JUtils
- extends java.lang.Object
BC4JUtils contains a set of method to facilitate usage of the BC4JContext.
- Since:
- JDeveloper 9.0.3
| Method Summary |
static org.apache.struts.action.ActionForward |
getForwardFromContext(BC4JContext ctx, org.apache.struts.action.ActionMapping mapping)
Retrieve the ActionForward to be return by the execute method of an Action class using information from the BC4JContext. |
static org.apache.struts.action.ActionForward |
getForwardFromContext(BC4JContext ctx, BC4JActionMapping mapping)
Retrieve the ActionForward to be return by the execute method of an Action class using information from the BC4JContext. |
static org.apache.struts.action.ActionForward |
getForwardFromContext(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
Retrieve the ActionForward to be return by the execute method of an Action class using information from the BC4JContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BC4JUtils
public BC4JUtils()
getForwardFromContext
public static org.apache.struts.action.ActionForward getForwardFromContext(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
- Retrieve the ActionForward to be return by the execute method of an Action class using information from the
BC4JContext.
-
- See Also:
getForwardFromContext(BC4JContext, BC4JActionMapping)
getForwardFromContext
public static org.apache.struts.action.ActionForward getForwardFromContext(BC4JContext ctx,
org.apache.struts.action.ActionMapping mapping)
- Retrieve the ActionForward to be return by the execute method of an Action class using information from the
BC4JContext.
-
- See Also:
getForwardFromContext(BC4JContext, BC4JActionMapping)
getForwardFromContext
public static org.apache.struts.action.ActionForward getForwardFromContext(BC4JContext ctx,
BC4JActionMapping mapping)
-
Retrieve the ActionForward to be return by the execute method of an Action class using information from the BC4JContext. Use the following rule to retrieve the best forward for the situation.
- look in the mapping for a forward with the name of the current event.
- if not, look in the mapping for a forward with the name "success".
- if not, build an ActionForward back to the same page.
-
- See Also:
Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.ServletRequest, javax.servlet.ServletResponse)
Copyright © 1997, 2005, Oracle. All rights reserved.