> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] > > 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: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]