位于http://www.springframework.org/schema/p的404位于何处

时间:2017-05-14 23:08:26

标签: java spring-mvc netbeans-8

我正在使用dispatcher-servlet.xml文件中的spring MVC开发netbeans Web服务器,自动生成的标头看起来像这样。

<?xml version='1.0' encoding='UTF-8' ?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">

在xml的某些部分我有这个

<bean id="viewResolver"
      class="org.springframework.web.servlet.view.InternalResourceViewResolver"
      p:prefix="/WEB-INF/jsp/"
      p:suffix=".jsp" />

使用后缀p但是当我访问网址http://www.springframework.org/schema/p时,它会给我一个404

抱歉,我是java的新手,我不太了解

我该如何解决这个问题?

提前致谢

0 个答案:

没有答案
相关问题