Thanks Nesto. A question: Why the jsp is as "type=file"? is It mandatory?
Thanks again Eduardo. ----- Original Message ----- From: "Nesto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 3:17 PM Subject: Re: Passing parameters > Hi Eduardo! > Your question is general, I don' know if I understand it well. > However, in the past weeks I had the same problem. > Here I post you the solution I found, with the great help of this community. > Hope this help for your problem to. > > I wanted to write a matcher for an URI of this type: > http://myhost.com:8080/cocoon/myApp/list.jsp?param=value > > The matcher is: > <map:match pattern="*.jsp"> > <map:act type="request"> > <map:parameter name="parameters" value="true" /> > <map:generate type="file" > src="http://anotherhost:8080/anotherApp{../1}.jsp?param={param}" > mime-type="text/xml"/> > <map:transform src="stylesheets/{../1}.xsl"/> > <map:serialize type="xhtml"/> > </map:act> > </map:match> > > Note: the jsp that generates xml data is included with type="file" and not > as type="jsp" > > Nesto > > > > ----- Original Message ----- > From: "Eduardo Zurita" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 11, 2003 2:16 PM > Subject: Re: Passing parameters > > > > OK. > > > > is there a way to pass a parameter from the user querystring to a JSP > > generator? > > > > Thanks in advance > > > > Eduardo. > > > > > --------------------------------------------------------------------- > 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]> > --------------------------------------------------------------------- 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]>