[opencms-dev] <cms:include> and JSPs requiring parameters

Alexander Kandzior alex at opencms.org
Tue May 27 18:12:01 CEST 2003


Rene,

use 

<cms:include file="../somepage.jsp">
	<cms:param name="id">1</cms:param>
</cms:include> 

There should be examples for this in some of the Alkacon documentation
modules. 


Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com


> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Rene Hinojosa
> Sent: Tuesday, May 27, 2003 5:48 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] <cms:include> and JSPs requiring parameters
> 
> 
> Greetings,
> 
> I saw a question posed to the group in the archives with the 
> question of adding parameters to jsps but found no answer. So 
> let me pose the question again(sorry if its been answered)
> 
> Is there a way to pass url parameters to included jsps via 
> cms:include?
> 
> Example:
> 
> <cms:include>../somepage.jsp</cms:include>   ― this works but try:
> 
> <cms:include>../somepage.jsp?id=1</cms:include> ― this 
> returns page not found error.
> 
> TIA,
> 
> Rene
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list