cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reza x <reza_...@yahoo.com>
Subject using URL in <map:match>
Date Mon, 08 Mar 2004 13:33:45 GMT
hi all
I want use sitemap to get the output stream from a servlet.
my sitemap.xml snippest now is like this:
 
<map:match pattern="*.pdf">
   <map:generate src="http://localhost:7001/baseinfo/getxmldata" />
   <map:transform src="format/style/xsl/doc2pdf.xsl"/>
   <map:serialize type="fo2pdf" />
   </map:match>

getxmldata if for calling the servlet which produce the needed xml stream.
how can I ignore the http://localhost:7001. is there any key to replace it and make it portable
and flexible.
 
thanks alot for your attention.


---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
Mime
View raw message