csdn no master??????

Category: Java EE
 
wuyingnet
2012-05-28 12:42:29

Sponsored Links
Just learning struts2. Done an upload. However, problems arise in the file filter. Find a lot of information on the Internet will not work, I just want to achieve filtering file types and sizes.
But the information is the same for online the word that in struts.xml write interceptors., but gave me the feeling did not use it. not at all realize.
Which experts have this source can be out of view under it? thank you

Sponsored Links

ljeagle_fish
2012-05-28 12:45:36
<action name="upload" class="com.sturts2.action.UploadAction">
   <!--  fileUpload  -->
             <interceptor-ref name="fileUpload">
    <!--   -->
                 <param name="allowedTypes">image/bmp,image/png,image/gif,image/jpeg</param>
    <!--   -->
                 <param name="maximumSize">2000</param> 
             </interceptor-ref> 
    <!--   -->
             <interceptor-ref name="defaultStack"/>
   <!--  Action  -->
             <param name="savePath">/upload</param>
...

WZX3727038
2012-05-28 12:53:11
This reply is automatically sent, only for display only, no other special role
landlord [vtegymtd888 2008-08-02 14:33:09] Until the historical aggregated data (not including post):
Total Posts: 1 posting scores: 0 ; each affixed Average Score: 0
the total number of posts: 1 ; the total number of stickers score: 0 Replies Score: 0% ;
Results posted total: 0 ; Results posted a total score: 0 ;
no satisfactory statement posted: 0 ; without a satisfactory statement posted minutes: 0 ;
outstanding of Posts: 1 ; outstanding Total Points: 0 ;
Results posted Percentage: 0.00 ;% end-point percentage: ------------- --------
no satisfactory statement posted rate: --------------------- no satisfaction knot points rate: ----- ----------------
See here how to knot posted:
cancel vest robots, please click here:
nbqwj
2012-05-28 12:55:17
csdn There is no master !
huchangqing555
2012-05-28 01:07:33
really do not master. Especially for this title.
zhuyuewo
2012-05-28 01:17:43
is the master is not coming out
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.