> after getting the value thru the querystring qid how do i set it to a > method in my class and send it as a parameter. > > in my class i have a method called > public void setQID(int _qid){ > this._qid=_qid; > } > > and in my JSP, > > <poll:property value="$qid"/><hr> > <poll:action name="'viewQuestionOptions'"> > <poll:property value="qID"/> -- i tried this > but it is not working,i think it is used to get the values instead. > > here i want to set the value i got as a parameter into the setQID method > of my class
You are mixing up the names, webwork is case sensitive. setQID relates to a property called "qID". I would suggest you change it to setQid so that the property name is "qid". ww:property does indeed fetch data, you want ww:param. Anders Hovmöller [EMAIL PROTECTED] http://boxed.killingar.net ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork