hi,

i tried it, but it did not work. the prob is, i cannot find out where the
parameters have a problem. it just happens nothing.

searching for the key 'servlet' is no good idea. nearly every email contains
it.

greetings

jens

> Did you use the "request" action in the pipeline you tried?  I think you
> need that in order for {requestQuery} to have any value.  Make sure you
> change {1} to {../1} once you use the action.
> 
> 
> ><map:match pattern="*.jsp" type="wildcard">
>   <map:act type="request">
>     <map:parameter name="parameters" value="true"/>
> 
> >  <map:generate
> src="http://localhost:8080/not-cocoon/mydir/{../1}.jsp{requestQuery}";
> >  type="html">
> >  </map:generate>   
> >  <map:serialize/>
>   </map:act>
> ></map:match>
> 
> 
> You might try searching the mailing list for "servlet". I seem to remember
> this issue being discussed some months ago.
> 
> -----Original Message-----
> From: Jens Grote [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 6:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how to hand over parameter to an url?
> 
> 
> sorry, but that doesn't work.
> 
> maybe i should explain my prob a little bit more precisely. the url i want
> to reach per link is: 
> 
> http://localhost:8080/cocoon/newly/Create.jsp?:coded=872898000
> 
> map:match pattern="*.jsp" type="wildcard">
> map:generate
> src="http://localhost:8080/other-servlet/mydir/{1}.jsp";
> type="html">
> </map:generate>   
> <map:serialize/>
> </map:match>
> 
> my sidemap entry tries to reach another servlet than cocoon, the
> 'other-servlet' servlet. this other-servlet generate out of a jsp page a
> html page
> (independent of cocoon), handles it over to cocoon and cocoon handels it
> over to
> tomcat. it works fine, if i the *.jsp page i request through the client do
> not
> need any parameters. in this case the response is resource not found.
> 
> in other, if i use javascript and form, the requested output is not shown
> (the response is empty). 
> 
> your solution doesn't work in any of this two cases.
> 
> greetings
> 
> jens
> 
> 
> > 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 <[EMAIL PROTECTED]> 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:    
> > > <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:  
> > > <[EMAIL PROTECTED]>
> > >  
> > 
> > ________________________________________________________________________
> > 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:     <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > 
> 
> -- 
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-- 
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to