I tested the code again and found the tomcat console print error msg
below,even i commented the codes that do the upload.

2007-10-30 15:59:02,015 [
org.apache.struts2.dispatcher.multipart.MultiPartRequest]-[ERROR]
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the
request was rejected because its size (15819219) exceeds the configured
maximum (10485760)
2007-10-30 15:59:02,015 [
org.apache.struts2.dispatcher.multipart.MultiPartRequest]-[ERROR]
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the
request was rejected because its size (15819219) exceeds the configured
maximum (10485760)
NewsModInfoAction constructor( )
NewsModInfoAction implements ServletRequestAware setServletRequest
2007-10-30 15:59:02,022 [org.apache.struts2.interceptor.
FileUploadInterceptor]-[ERROR] the request was rejected because its size
(15819219) exceeds the configured maximum (10485760)
2007-10-30 15:59:02,022 [
org.apache.struts2.interceptor.FileUploadInterceptor]-[ERROR] the request
was rejected because its size (15819219) exceeds the configured maximum
(10485760)
Login.getUserDomainName currentSession==null?false
newsModAction iid=null


2007/10/30, Andvar Woo <[EMAIL PROTECTED]>:
>
> 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]
> >
> >
>

Reply via email to