cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo F. Ochoa" <moc...@ieee.org>
Subject JspEngineImpl requires changes on getServletPath method of inher class MyServletRequest
Date Fri, 03 Aug 2001 17:38:12 GMT
Hi all:
   JspEngineImpl requires changes on getServletPath method of inher 
class MyServletRequest, this must be return "this.jspFile" instead of 
"request.getServletPath()" of the caller enviroment.
   This change gives the possibilty of use rewrite rules on sitemap 
definitions, for example:
   <map:match pattern="doc/**.jsp">
     <map:generate type="jsp" src="my_doc/{1}.jsp"/>
     ...
   In the other hand without this change JspGenerator is not usefull 
with Content Agregation for the same problems.
   Best regards, Marcelo.

PD: Another usefull changes is merge <map:parameter> directive with the 
original request parameters giving the posibility of pass sitemap 
parameter to the Jsp page, or in my case to DB Prism JspWrapper.
-- 
Marcelo F. Ochoa - mochoa@ieee.org
Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press 
http://www.wrox.com/)
Chapter 8 of the book "Oracle & Open Source" (O'Reilly 
http://www.oreilly.com/catalog/oracleopen/)
-----------------------------------------------
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-444430 Fax: +54-2293-444431


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message