I'm currently working to migrated from 7.2.26 to 8.0.20 and I get a compile
error with the import of "org.ops4j.pax.web.jsp.JspServletWrapper"
>From what I can see, pax-web now packages
"org.apache.jasper.servlet.JspServletWrapper" in the pax-web-jsp bundle.
First, maybe since it is referencing apache code, the source bundle is
missing this part of the code.
Secondly, should we replace one for the other or should we use the new
org.ops4j.pax.web.jsp.JspServlet that seems to be a wrapper in itself and
if so how do we instantiate it.
Here is what we currently have (which I've inherited and has no real
explanation with it) as to why this was required
JspServletWrapper servletWrapper = new
JspServletWrapper(ViewerPlugin.getDefault().getBundle(), _jspPath);
servletWrapper.init(servletConfig);
ServletResponse serviceResponse = response;
AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
@Override
public Boolean run() {
try {
servletWrapper.service(baseRequest, serviceResponse);
}
catch (Exception e) {
LOG.debug("Error serving jsp page", e); //$NON-NLS-1$
}
return true;
}
});
Thanks
Alain
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ops4j/046e0384-e2c4-40b5-afe7-cee65366d063n%40googlegroups.com.