struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andvar Woo" <andvar2...@gmail.com>
Subject Re: Struts2 redirect-action params with ognl-expression values
Date Tue, 30 Oct 2007 06:56:05 GMT
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 <newton.dave@yahoo.com>:
>
> Is the "id" attribute included in the form upload post via a hidden form
> field or other means?
>
> d.
>
> ----- Original Message ----
> > From: Andvar Woo <andvar2008@gmail.com>
> > 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message