我正在使用JSP开发Struts2框架.我有*.properties文件:
hover_remove=Remove access to {0} at {1}`
Run Code Online (Sandbox Code Playgroud)
我在JSP中的提交标记中:
title="%{getText('hover_remove', new String[]{{appLabel}, {locationLabel}})}"
Run Code Online (Sandbox Code Playgroud)
这将在Java中工作,但我在JSP中遇到以下错误:
/WEB-INF/pages/admin/cm/view.jsp(9,287)
JSPG0055E: Unable to create an xml attribute from name
Run Code Online (Sandbox Code Playgroud)
getText(String, List String[])在JSP中
使用的任何提示?