spring文件类型如何注入?用struts2 + spring实现文件上传功能,Action类中有一个成员变量;File file。不知道这个成员变量能不能用spring框架初始化?[解决办法]可以。