This is the
code of my doFlow function :
public
String doFlow(HttpServletRequest req, HttpServletResponse
res)
throws Throwable { String returnURL = null; super.doFlow(req,
res) ;
/*
* retrieve page URL as parameter. Use 'NEXT' keyword to identify page. */ try { java.util.Enumeration enum = req.getParameterNames(); String key; while (enum.hasMoreElements()) { key = (String) enum.nextElement(); String value = req.getParameterValues(key)[0]; if (key.startsWith("NEXT")) returnURL = value; CAT.log(ServletLogMsg.PAGECONTROLLER_PARAMETER, new String[]{key,req.getParameterValues(key)[0]}); } } catch (Throwable e) { CAT.log(ServletLogMsg.PAGECONTROLLER_EXCEPTION, new String[]{e.toString()}); throw new IsabelException(e.toString()); } // if action perform return null, we ask the pagecontroller which should be the next URL // localize the URL returnURL = getLocalizer().localizeResource(returnURL, userContext.getLocale()); CAT.log(ServletLogMsg.PAGECONTROLLER_LOCAL_URL, new String[]{returnURL}); return returnURL; }
|
Title: Parameter problem (VAJ 3.5.3, Junit 3.7, Cactus 1.1)
- Parameter problem (VAJ 3.5.3, Junit 3.7, Cactus 1.1) Fabien Lesire
- Re: Parameter problem (VAJ 3.5.3, Junit 3.7, Cactus 1... Jari Worsley
- Re: Parameter problem (VAJ 3.5.3, Junit 3.7, Cactus 1... Vincent Massol
- RE: Parameter problem (VAJ 3.5.3, Junit 3.7, Cactus 1... Vaishnav, Kunal
- Fabien Lesire