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

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吧?它的编辑器有点问题,这样是没错的~~~