This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 113396 - Add visualweb options for UploadFilter
Summary: Add visualweb options for UploadFilter
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 17:57 UTC by Lark Fitzgerald
Modified: 2007-09-22 01:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2007-08-21 17:57:15 UTC
The options for Visual Web had been reorganized to the Basic | Miscellaneous | Visual Web section.

It would be nice to have a components section with component specific properties like uploadFilter which we default a 
maxSize and sizeThreshold for. 


    <filter>
        <filter-name>UploadFilter</filter-name>
        <filter-class>com.sun.webui.jsf.util.UploadFilter</filter-class>
        <init-param>
            <description>The maximum allowed upload size in bytes.  If this is set to a negative value, there is no 
maximum.  The default value is 1000000.</description>
            <param-name>maxSize</param-name>
            <param-value>1000000</param-value>
        </init-param>
        <init-param>
            <description>The size (in bytes) of an uploaded file which, if it is exceeded, will cause the file to be 
written directly to disk instead of stored in memory.  Files smaller than or equal to this size will be stored in 
memory.  The default value is 4096.</description>
            <param-name>sizeThreshold</param-name>
            <param-value>4096</param-value>
        </init-param>
    </filter>

Changes made there should be reflected in the web.xml
Comment 1 Matthew Bohm 2007-09-22 01:25:57 UTC
Changing target milestone to future.