Hello all
I'd like to deprecate the RealPathModule in favor of the ContextPathModule as all the RealPathModule can do is doable with the ContextPathModule (but not 100% backward compatible) but the ContextPathModule fits better in the Cocoon machinery as described in my commit/javadocs.
Any suggestions/opinions?
Giacomo
[EMAIL PROTECTED] wrote:
Author: giacomo Date: Tue Feb 8 06:21:04 2005 New Revision: 152673
URL: http://svn.apache.org/viewcvs?view=rev&rev=152673
Log:
Added input module that resolves to a real path similar to the RealPathModules but by use of a SourceResolver instead of the Context object (which always resolves to the context path). This allows to mount apps external of the servlet context path and still have a correct real path resolved in respect to the sitemap calling the module. As I couldn't fix the RealPathModule in a backward compatible way, becasuse {realpath:/} and {realpath:.} both resolve to the context root whereas {contextpath:/} resolves to the context root but {contextpath:.} resolves to the path of the respective sitemap, I've choosen to create a new Module for it.
-- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com
smime.p7s
Description: S/MIME Cryptographic Signature
