// path.
DataInputStream input = new DataInputStream(context
.getResourceAsStream("SqlMapConfig.xml"));
client = Utils.getSqlMapClient(input);
//TODO ��δ�req��ȡ��FileModel�����IJ����أ�
FileModel fileModel = null ;
ObjectInputStream ois = new ObjectInputStream(req.getInputStream());
fileModel = (FileModel)ois.readObject();
ois.close();
if(fileModel != null){
System.out.println("UpdateModel#fileModel!=null");
}else{
System.out.println("UpdateModel#fileModel==null");
}
client.update("updateModel", fileModel);
List<DrawModel> draws = fileModel.getDraws();
for(int i = 0;i<draws.size();i++){
client.update("updateDrawModel",draws.get(i));
}
} catch (Exception e) {