Home > Back-end >  Controller can access to the data, can not display properly in the JSP, and the great spirit and hav
Controller can access to the data, can not display properly in the JSP, and the great spirit and hav

Time:10-17

controller
@ RequestMapping (value={} "exchangePlanDetail" https://bbs.csdn.net/topics/
Public String findOne (it request, HttpServletResponse response, Model Model, EppExchangePlan EppExchangePlan, EppExchangePlanDetail EppExchangePlanDetail) {
//Map ExchangePlan=eppExchangePlanService. SelectByPlanId (eppExchangePlan);
Page Page=eppExchangePlanService. SelectById (new Page (request, response), eppExchangePlan);
List List=page. GetList ();
page.setList(list);
Model. The addAttribute (page1, page);
//model. The addAttribute (" exchangePlan exchangePlan);
Return "epp/eppExchangePlanDetail";
}

JSP


Property & lt;/th>
Conditions & lt;/th>
Start time & lt;/th>
End time & lt;/th>
Consumption rules & lt;/th>
Whether to enable & lt;/th>
Operation & lt;/th>




The ${epp. ConditionType} & lt;/td>
The ${epp. TranCondition} & lt;/td>


The ${epp. RuleDesc} & lt;/td>
The ${epp. IsUsed} & lt;/td>










DEBUG, addAttribute Page or data, is a JSP showed out, and made for a long time, hope everyone to see

CodePudding user response:

The ${page1} the coming

CodePudding user response:

CodePudding user response:

reference 1st floor yuxiangaaaaa response:
${page1} this coming?


Coming, have found the problem of XML there didn't write the as...
, lead to the JSP can't get the data for everyone laughed

CodePudding user response:

Wrong and label the table commented out, to see if the page is normal, if normal, out of a field is a field inspection, and should take less than the value is a field

CodePudding user response:

The table tag you write wrong!
  • Related