当前位置: 代码迷 >> JavaScript >> Cannot return from outside a function or method.该如何处理
  详细解决方案

Cannot return from outside a function or method.该如何处理

热度:352   发布时间:2013-04-09 16:45:09.0
Cannot return from outside a function or method.
<s:form action="EmployeesAction" method="post" theme="simple" onsubmit="return formSubmit()">
报错,
Multiple annotations found at this line:
- Start tag of element <s:form>
- Cannot return from outside a function or 
是那里错了啊,请高手指点一下。3Q!

------解决方案--------------------
没问题,你用的MyEclipse吧?它的编辑器有点问题,这样是没错的~~~
  相关解决方案