将一个java Web导入MyEclipse中时出现EL syntax Error
将一个已经完成的java web 项目导入MyEclipse中:
在空白处右键单击:import——>General--->Exsiting projects into workplace-->
select root directory--->Browser选择了我的项目文件夹。
可是问题出现了。。所有的文件和jar包和配置文件都有,可是在jsp文件中出现了EL systax Error 的错误!!
在jsp中代码如下:
<form action="CustomerServlet?flag=3" method="post">
<input type="hidden" name="customerid" value="${customerlist[0]["customer_id"]}"/>
<input type="submit" class="tb_top_1" value="下一步>>" >
</form>
在上面的代码的第二行出现了EL Syntax Error 提示: undefined attribute name(customer_id)