[opencms-dev] parameter passing
Alexander Wallace
aw at avatartechnology.com
Mon May 16 15:28:25 CEST 2005
I'm sorry, i don't know what i was saying... getParameter is what you need,
since you are putting it on the href.... have you tried request.getParameter?
On Monday 16 May 2005 08:20 am, Alexander Wallace wrote:
> 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
> >
>
>
> _______________________________________________
> 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