"Kevin A. Burton" wrote:
> 
> "Kevin A. Burton" wrote:
> <snipo>
> > > The patch should also work with JServ (servlet 2.0)  but I'm not
> > > sure it'll work with Tomcat (servlet 2.2). If someone can test and confirm,
> > > taht'll be welcome
> >
> <snip>
> 
> Nope... Doesn't work under Tomcat/Servlet 2.2.  But works fine under
> JServ.  So there are two bugs. :(
> 
> I just rebuild my home machine with JServ 1.1 and Apache 1.3.12 and
> everything worked fine.
> 
> Now just need to get this to work under Tomcat...
> 

The issue is with servlet 2.2. For servelt2.0 and 2.1, I simply overrided
the default getTranslatedPath() and getRelaPath() to point to the
cached version of the file (because XSP tries to read it), and this is it.

In servlet2.2, in order to resolve URI to path, you must use a ServletContext
object and I didn't see any simple way to override the servlet context used by 
Cocoon to something set by Jetspeed. It should be possible but I didn't have
the time to investigate. If we can give Cocoon the ServletContext to use, we
will be able to handle all URI->path conversions and thus make XSP and XSL work
with relative URLs...

--
Rapha�l Luta - [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to