The function getUserId must be used with a prefix when a default namespace is not specified正则表达式
解决方法:tomcat
一、在正则表达式中${}调用不能调用方法,即不能够这样${oauser.getUserId()} ${u.getPostcode()}而是要这样${oauser.userId}要省略括号和get,也就是直接用模型里面的属性就能够了,才能正确运行spa
二、若是将含有此等标签的项目部署在tomcat6.0下就会出现这样的异常问题,只是由于tomcat6.0不予支持运行。全部部署到tomcat7.0下就能够运行正常。code