功能如下:
根据某些条件进行分页查询,查询的结果中有一项是回复,
点击某一条记录上的回复链接,显示弹出层,
本意是想通过该条结果的Id 查询与该记录相关的所有信息,分页显示在action中 有创建dto对象,但是得到的对象显示为null,
为啥呢 ,以前也遇到过类似的问题,求解。

解决方案 »

  1.   

    你还是帖action代码  和错误信息吧  你这表述能力给不是灰常给力
      

  2.   

    action 代码
    public String getProductReplyContent() throws Exception {

    if (productReplyContentDto != null) {
    productReplyContentPg = buyerExperienceManager.findBuyerReplyWithPg(productReplyContentDto);
    }
    return SUCCESS;
    }
    Manager 代码
    public Pagination findBuyerReplyWithPg(ProductReplyContentDto productReplyContentDto) {

    Pagination pg = productReplyContentDao.findBuyerReplyWithPg(productReplyContentDto);
    return pg;
    }
    但是在操作时  获得的dto总是为null