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*

<action name="MdfNews"
   class="com.forlink.wps.news.action.NewsMdfAction">
   <result name="success">/WEB-INF/template/newsinfo/newsModify.jsp</result>
   <result name="error">/WEB-INF/template/newsinfo/error.jsp</result>
  </action>
*then modify the news info,post info to MdfNewsInfo Action*
<action name="MdfNewsInfo"
   class="com.forlink.wps.news.action.NewsMdfInfoAction">
   <interceptor-ref name ="fileUploadStack">
    <param name="maximumSize">10485760</param>
   </interceptor-ref>
    <interceptor-ref name="defaultStack"/>
   <result name="success" type="redirect">List.action</result>
<!--
*if you upload a attachment whose size exceeds 10M,then goes to "input"
result;but the id param*
*passed couldnot be assigned value of the "${id}" expression*
*-->*
   <result name="input" type="redirect-action">
                ModNews.action?id=${id}
         </result>
  </action>
*The id value got at ModNews.action is nothing,not even 0.*
*Does anyone hnows why?Many Thanks*

Reply via email to