cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kavitha ramesh <kavitha_...@yahoo.co.in>
Subject Re: how to hand over parameter to an url?
Date Wed, 21 Aug 2002 12:20:33 GMT
I guess the following sitemap would work,,,


<map:match pattern="*.jsp" type="wildcard">
 <map:generate

src="http://localhost:8080/not-cocoon/mydir/{1}.jsp{requestQuery}"
 type="html">
 </map:generate>   
 <map:serialize/>
 </map:match> 


Kavitha




--- Jens Grote <Grote.Jens@gmx.de> wrote: > hi,
> 
> i have a webpage, where one link opens a new
> webpage. this link is a url
> with a parameter including. 
> 
> it seems, that cocoon cut the parameter off. the
> page can not be shown. (the
> parameter is something like a session number.)
> 
> my sidemap entry is:
> 
> 
> <map:match pattern="*.jsp" type="wildcard">
> <map:generate
> src="http://localhost:8080/not-cocoon/mydir/{1}.jsp"
> type="html">
> </map:generate>   
> <map:serialize/>
> </map:match>
> 
> the .jsp sides are generated into xml by an other
> servlet. therefore i need
> the whole url. 
> 
> can i hand over dynamic parameters?
> 
> i tried something like this:
> 
> <map:parameter name="*" value="{2}"/>
> in the generator tag, but it doesn't work.
> 
> error message is 'resource not found' strange to
> say. 
> 
> thanks and greets
> 
> jens
> 
> 
> 
> -- 
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
>  

________________________________________________________________________
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
       visit http://in.autos.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message