问答详情
源自:-

使用springmvc,在action业务处理逻辑函数中,使用了Model参数,将picInfo添加到该参数中,我如何在jsp中获取该参数呢?

public String watermark(

@RequestParam("image") CommonsMultipartFile[] files,

HttpSession session, Model model) throws Exception {

    ....

    ....

    picInfos.add(picInfo);

     model.addAttribute("picInfos", picInfos);

     return "multiwatermark";

}

我如何在multiwatermark.jsp中获取该对象的imageURL和logoImageURL属性???

提问者:木石前盟Cay 2016-05-12 09:31

个回答

  • 简单丶注定
    2016-10-26 03:11:21

    ${picInfo.imageURL}