In the generated .java file from your xsp (should be in your tomcat/work/localhost/cocoon/...../abstracts.java) , there is a comment saying something like:
/* Built-in parameters available for use */ // context - ServletContext // request - HttpServletRequest // response - HttpServletResponse // parameters - parameters defined in the sitemap I have been using the request object which is more flexible than the xsl:request logicsheet but you basically programming in java in those <xsp:logic> tags. I assume that parameters is very similar... and I guess it is some kind of java map object. Haven't tried it but it is worth a try. > -----Original Message----- > From: leo leonid [mailto:[EMAIL PROTECTED]] > Sent: 21 January 2002 22:51 > To: [EMAIL PROTECTED] > Subject: using sitemap-param from within xsp-page > > > > > Hi, > With the following lines in my sitemap... > > <map:match pattern="articles/*/abstracts.html"> > <map:generate > type="serverpages" src="abstracts.xsp"> > <map:parameter > name="mySectionParam" value="{1}"/> > </map:generate> > <map:serialize type="html"/> > </map:match> > > ... I want to access 'mySectionParam' from within > 'abstracts.xsp'. Is there > an easy way to do this? (I mean less complicated than writing > an action > that creates a request-parameter, which I could access like this: > <xsp-request:get-parameter name="mySectionParam"/>) > > thanks > Leo > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>