linux strust標籤 表達式

嚴重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /pages/perslinkman/main.jsp(206,17) According to TLD or attribute directive in tag file, attribute value does not accept any expressionsexpress

此問題struts標籤不支持表達式,產生apache

<s:set name="msg" value="#msg==null?''+value.get(#request.index).toString()+'\\\n':#msg+   
                value.get(#request.index).toString()+'\\\n'"/>jsp

解決辦法ui

<attribute>
     <description><![CDATA[The value that is assigned to the variable named <i>name</i>]]></description>
     <name>value</name>
     <required>false</required>
     <rtexprvalue>false</rtexprvalue>                  false改成true
   </attribute>ip

相關文章
相關標籤/搜索