Quantcast
Channel: 質問!ITmedia 新着質問(Java/253)
Viewing all articles
Browse latest Browse all 2439

ORマッパーのreadMapListの要素

$
0
0
ServletのSQL文で出した結果をreadMapListをリクエストしてjsp側に送りjsp側で結果を全件表示させたいです。 Servlet try{ conn = DBManager.getConnection(); Persist persist = new Persist(conn); List> strages = persist.readMapList("select * from t_storage_order,m_item,m_customer where t_storage_order.item_id = m_item.item_id AND t_storage_order.customer_id = m_customer.customer_id order by storage_order_id"); request.setAttribute("strages",strages); } finally { DBManager.close(conn); } return "/WEB-INF/view/orderStrageLists.jsp"; となっておりjspではどのようにリクエストを取得し全件表示して綺麗に並べる事ができるのでしょうか

Viewing all articles
Browse latest Browse all 2439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>