<mvc:view-controller path="/=" view-name="=redirct:/portal" />
这句报错:The prefix "mvc" for element "mvc:view-controller" is not bound.
但是在配置文件中相关配置我已经配好了
<mvc:view-controller path="/=" view-name="=redirct:/portal" />
这句报错:The prefix "mvc" for element "mvc:view-controller" is not bound.
但是在配置文件中相关配置我已经配好了
是不是放在xml开头
<beans xmlns="http://www.springframework.org/schema/beans"...的里面
xmlns:mvc="http://www.springframework.org/schema/mvc"
这个写在前面
xsi:schemaLocation="
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd"
这些写在后面