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]>