cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: SystemID, [Bug]: Deli-Example displays empty page
Date Mon, 28 Jan 2002 13:35:34 GMT
> From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de]
> 
> Vadim Gritsenko wrote:
> >
> >
> > What do you think about SystemID generated by SitemapSource? I
really do
> > not like server name and port there. It makes compiled JSPs
> > non-portable...
> >
> 
> Can you elaborate a little bit on this?

Sure. If you have:

   <map:match pattern="xsp">
    <map:generate type="serverpages" src="cocoon:/xsp-source"/>
    <map:serialize/>
   </map:match>

"cocoon:/xsp-source" has SystemID:
	http://localhost:8080/cocoon/sub/xsp-source

On the hard drive you will get:
	WEB-INF\work\org\apache\cocoon\www\http_\_\localhost_8080\
	cocoon\sub\xsp_ source.class

Which IMHO is bad: once you change host/port, your XSP is going to be
recompiled. I propose:

SystemID:
	cocoon://sub/xsp-source

File:
	
WEB-INF\work\org\apache\cocoon\www\cocoon_\_\sub\xsp_source.class


Vadim


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


Mime
View raw message