I assumed that the PT servlet would work with tomcat also. Not to worry i’ll get JServ working again.
Which is best
- The PT Servlet in JServ or - Cocoon running in tomcat (i assume with cocoon i would have to right my own servlet which interacts with the DOM API to collect the xslt)
This all seems a bit crazy to me, so i have apache calling JServ for the xslt and tomcat to perform JSP via the Java DOM API?
> - The PT Servlet in JServ > - Cocoon running in tomcat
These are two pretty different solutions. I haven't used Cocoon for a year, but I remember that to dynamically collect data you will have to build a specific "provider" (their own term) in Java. Cocoon also provides caching and FOP support (for PDF rendering).
So if you need Cocoon features, in your position I would personaly forget the PTS, else it is to messy.
I haven’t tried with Tomcat 4 but I have pass-thru running with Tomcat 3. In principle it works fine but please notice that pass-thru is only tested with Jserv.
To install pass-thru in Tomcat you can do the following:
add a new directory for instance %TOMCAT_HOME%\webapps\passthru
Create directory passthru\WEB-INF
Create directory passthru\WEB-INF\lib
Copy xt.jar, xp.jar, passthru.jar and sax.jar into the passthru\WEB-INF\lib directory