From: <php...@li...> - 2010-09-23 17:38:19
|
> am not understanding how http://sourceforge.net/mailarchive/message.php?msg_id=AANLkTikUyejJ_jaZ9XBo2DUL1r9_RK6_W-bCyoByJ_4t%40mail.gmail.com is related to my problem.. It probably isn't. http://localhost:8080/test/env.jsp/tail?a=b => URI /test/env.jsp/tail ServletPath /test/env.jsp PathInfo /tail QueryString a=b a b >env.servletPath = (String) req.getAttribute("javax.servlet.include.servlet_path"); >if (env.servletPath == null) { >env.servletPath = req.getServletPath() + req.getPathInfo(); >} So PATH_INFO should be null for your request. The super.setupRequestVariables() sets env.servletPath = (String) req.getAttribute("javax.servlet.include.servlet_path"); if (env.servletPath == null) env.servletPath = req.getServletPath(); which is equivalent to your code. Regards, Jost Bökemeier |