I am trying to move from cocoon 1 to cocoon 2 using the combination
Linux with Apache 1.3.24 and Tomcat 4.0.4, Cocoon 2.0.2. and JDK 1.4.0
I am using the 'mod_webapp' connector between Apache and Tomcat.

All of the demonstration and provided examples work with the above combination.
My own servlets and xml work as well.  But I still have a problem:

I can't figure out how to get Apache to pass on all URL requests with a given
extension for either Tomcat or Cocoon to handle, like the old ApJservAction
mechanism did ( e.g. ApJServAction .jsp /servlets/nl.nmg.jsp.JSPServlet )


I was able to accomplish this by combining a rewrite rule and a WebAppDeploy
statement in the apache.conf file,

  RewriteRule ^/(.*)\.jsp$ /jspages/$1.jsp [R]

  WebAppDeploy jspages warpConnection /jspages


but this causes a redirect and a new page request resulting in a new URL
being displayed on the browser; its not really the same as what ApJservAction 
did.

How do I achieve the equivalent of ApJservAction ?


Thanks,



-- 
 Dr. Everett (Skip) Carter      Phone: 831-641-0645 FAX:  831-641-0647
 Taygeta Scientific Inc.        INTERNET: [EMAIL PROTECTED]
 1340 Munras Ave., Suite 314    WWW: http://www.taygeta.com
 Monterey, CA. 93940            












---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to