Thanks for Julien and Dave's reply. To Julien:I've try the method you suggust,it didnot work either. To Dave: the "id" attribute included in the form upload post via a hidden form field
2007/10/26, Dave Newton <[EMAIL PROTECTED]>: > > Is the "id" attribute included in the form upload post via a hidden form > field or other means? > > d. > > ----- Original Message ---- > > From: Andvar Woo <[EMAIL PROTECTED]> > > To: Struts Users Mailing List <user@struts.apache.org > > > Sent: Friday, October 26, 2007 6:17:22 AM > > Subject: Struts2 redirect-action params with ognl-expression values > > > > Hi.all. > > Recently,I'v encounter a problem. > > The problem comes as follows: > > *First invoke a MdfNews Action with a news id param to init some > > variables,then goes* > > *to a newsModify.jsp page ,something like > > http://www.comanyName.com/news/MdfNews.action?id=123*<http://www.comanyname.com/news/MdfNews.action?id=123*> > > > > > > class="com.forlink.wps.news.action.NewsMdfAction"> > > > > > > > name="success">/WEB-INF/template/newsinfo/newsModify.jsp > > /WEB-INF/template/newsinfo/error.jsp > > > > *then modify the news info,post info to MdfNewsInfo Action* > > > > class="com.forlink.wps.news.action.NewsMdfInfoAction"> > > > > 10485760 > > > > > > List.action > > * > > > > ModNews.action?id=${id} > > > > > > *The id value got at ModNews.action is nothing,not even 0.* > > *Does anyone hnows why?Many Thanks* > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >