0
檢索的servlet變量i使用該有我的servlet的字符串,其即時通訊通過轉發的ArrayList:通過JSTL
//in servlet
ArrayList<String> output = new ArrayList<String>();
//populate arraylist with values here
//forward the string
request.setAttribute("myData ", output);
request.getRequestDispatcher("Home.jsp").forward(request, response);
我知道我可以在scriplet符號訪問此:
ArrayList<String> myData = (ArrayList<String>)request.getAttribute("myData");
如何我在jstl中訪問這個嗎?