Maybe the web.xml isn't valid?   Some containers are more forgiving of
errors than others.   Other containers silently ignore bad elements.
If you're still using 2.3 dtd, then order of elements is important.

On Mon, Oct 5, 2009 at 9:24 PM, Jim the Standing Bear
<[email protected]> wrote:
> Hello,
>
> It seems that the myfaces webapp as a portlet is not reading the
> init-params defined in web.xml.  I have a myfaces webapps that uses
> inputFileUpload.  While testing it as a standalone, I was able to
> control the max upload size by changing the init-param in web.xml.
> However, after putting everything together as a portlet war and
> deploying it to gridsphere,  the file upload keeps using the default
> value of 100m regardless of what web.xml says.
>
> I have been spending hours and hours testing file uploads and this
> 100m seems like a curse.  Has anyone run into similar situations?
> Would it be possible to initialize the max upload size within the
> code?  I tried to find some info from the wiki, but didn't see
> anything relevant.
>
> I would appreciate any help!
>
> -- Jim
>

Reply via email to