jsp頁面使用el 按key獲取map中的對應值GOOD

action中的代碼 private Map<String, String> msgs = new HashMap<String, String> msgs.put("loginError", "驗證碼錯誤");javascript request.setAttribute("msgs",msgs); java jsp頁面中的代碼: <script type="text/javascript">
相關文章
相關標籤/搜索