<%@ page  contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">    
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<style type="text/css">
.label{
color:blue
}
</style>
  </head>
  
  <body>
    <s:form action="" theme="simple">
     <table>
     <tr>
           <td><s:doubleselect label="doubleselect test1" name="menu"              list="{'fruit','other'}" doubleName="dishes"              doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />           </td>
       </tr>
     </table>
    </s:form>
  </body>
</html>发布运行后,出现了错误:
Expression parameters.formName is undefined on line 98, column 43 in template/simple/doubleselect.ftl.
The problematic instruction:
----------
==> ${parameters.formName} [on line 98, column 41 in template/simple/doubleselect.ftl]
 in include "/${parameters.templateDir}/simple/doubleselect.ftl" [on line 25, column 1 in template/xhtml/doubleselect.ftl]
----------Java backtrace for programmers:
----------
freeer.core.InvalidReferenceException: Expression parameters.formName is undefined on line 98, column 43 in template/simple/doubleselect.ftl.
at freeer.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freeer.core.Expression.getStringValue(Expression.java:118)
at freeer.core.Expression.getStringValue(Expression.java:93)如何解决,分数不多,希望高手不吝赐教