Skip to content

Instantly share code, notes, and snippets.

@gomzie
Created September 9, 2012 07:00
Show Gist options
  • Save gomzie/3683083 to your computer and use it in GitHub Desktop.
Save gomzie/3683083 to your computer and use it in GitHub Desktop.
spring-servlet.xml
<?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"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
<!-- Declare a view resolver -->
<bean id="jspViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp" p:order="1"/>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment