Hello Kevin-san. I wrote a patch to upgrade Apache JSSI from Servlet API 2.0 to 2.2. =================================================================== DelegateHttpServletRequest.diff 401a402,422 > public void setAttribute(java.lang.String s , java.lang.Object o) { > req.setAttribute(s, o); > } > public javax.servlet.http.HttpSession getSession() { > return req.getSession(); > } > public java.util.Enumeration getAttributeNames() { > return req.getAttributeNames(); > } > public boolean isRequestedSessionIdFromURL() { > return req.isRequestedSessionIdFromURL(); > } > public java.util.Enumeration getHeaders(String name) { > return req.getHeaders(name); > } > public boolean isRemoteUserInRole(String role) { > return req.isRemoteUserInRole(role); > } > public String getContextPath() { > return req.getContextPath(); > } =================================================================== PageParserServlet.diff 238c238,239 < String path = req.getPathTranslated(); --- > //String path = req.getPathTranslated(); > String path = getServletContext().getRealPath(req.getServletPath()); =================================================================== SSIHttpServletResponse.diff 207a208,224 > > public String encodeURL(String url) > { > return res.encodeURL(url); > } > public String encodeRedirectURL(String url) { > return res.encodeRedirectURL(url); > } > public void addDateHeader(String name, long date) { > res.addDateHeader(name, date); > } > public void addHeader(String name, String value) { > res.addHeader(name, value); > } > public void addIntHeader(String name, int value) { > res.addIntHeader(name, value); > } =================================================================== Thanks, Ryoji. [EMAIL PROTECTED] wrote: > > Is there a version of JSSI compatible with JSDK 2.1? Specifically, we're > using WebLogic 5.1... > > Thanks, > Kevin > -- 川道亮治 ([EMAIL PROTECTED]) Do You Extend it!? >>>>> http://www.baykit.org/xi Do You BXS!? >>>>> http://www.baykit.org/bxs ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]

Reply via email to