cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: Url
Date Tue, 10 Aug 2004 09:44:23 GMT
Il giorno 10/ago/04, alle 11:35, Adriano Smith ha scritto:

> For the url:
> http://localhost:8888/mail/blue.wml?uid=key
>
> The sitemap snippet is
>  <map:match pattern="*blue.wml*"/>
>  <map:generate type="html" src="{request-param:uid}"/>
>   <map:serialize type="html"/>
>
> However i get the error:
>
> Could not get resource file:/data/cocoon-2.1.3/build/webapp/mail/key
>
> How can the value of uid be read?

It IS read! As you can see, the HTML generator is looking for a file 
named "key" in the current directory. The fact that there's no such 
file has nothing to do with reading the value of the "uid" parameter, 
which has been read perfectly fine.

	Ugo

-- 
Ugo Cei - http://beblogging.com/

Mime
View raw message