[opencms-dev] parameter passing

Alexander Wallace aw at avatartechnology.com
Mon May 16 15:20:12 CEST 2005


Try request.getAttribute... I believe that parameters are only for forms...

On Saturday 14 May 2005 06:23 am, Mark wrote:
> Hi guys,
> 
> I've got a page which has a link to another page, like this:
> 
> <a href="destination.html?myparameter=ok">click</a>
> 
> the JSP template of destination.html has a line to catch the value of 
> the parameter myparameter:
> 
> String param = cms.getRequest().getParameter("myparameter");
> 
> but param value results to be always null. Only navigating in the 
> offline project the value of myparameter is "ok".
> 
> Is it a bug?
> 
> Mark.
> 
> 
> 
> _______________________________________________
> 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