Skip to content

Commit c98bba7

Browse files
committed
Code Formatting
1 parent fbae404 commit c98bba7

3 files changed

Lines changed: 56 additions & 44 deletions

File tree

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
4-
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
5-
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
6-
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
7-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
8-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
9-
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:mvc="http://www.springframework.org/schema/mvc"
5+
xmlns:tx="http://www.springframework.org/schema/tx"
6+
xmlns:context="http://www.springframework.org/schema/context"
7+
xsi:schemaLocation=
8+
"http://www.springframework.org/schema/mvc
9+
http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
10+
http://www.springframework.org/schema/tx
11+
http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
12+
http://www.springframework.org/schema/beans
13+
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
14+
http://www.springframework.org/schema/context
15+
http://www.springframework.org/schema/context/spring-context-3.1.xsd">
1016
<context:component-scan base-package="com.baeldung.spring.controller" />
11-
1217
<bean
13-
class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />
14-
18+
class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>
1519
<bean
16-
class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" />
17-
20+
class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"/>
1821
<bean id="viewResolver"
19-
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
20-
<property name="prefix" value="/WEB-INF/" />
21-
<property name="suffix" value=".jsp" />
22+
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
23+
<property name="prefix" value="/WEB-INF/" />
24+
<property name="suffix" value=".jsp" />
2225
</bean>
2326
</beans>
Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
4-
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
5-
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
6-
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
7-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
8-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
9-
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:mvc="http://www.springframework.org/schema/mvc"
5+
xmlns:tx="http://www.springframework.org/schema/tx"
6+
xmlns:context="http://www.springframework.org/schema/context"
7+
xsi:schemaLocation=
8+
"http://www.springframework.org/schema/mvc
9+
http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
10+
http://www.springframework.org/schema/tx
11+
http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
12+
http://www.springframework.org/schema/beans
13+
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
14+
http://www.springframework.org/schema/context
15+
http://www.springframework.org/schema/context/spring-context-3.1.xsd">
1016
<context:component-scan base-package="com.baeldung.spring.controller" />
11-
1217
<bean
13-
class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" />
14-
18+
class=
19+
"org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"/>
1520
<bean
16-
class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter" />
17-
21+
class=
22+
"org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter"/>
1823
<bean id="viewResolver"
19-
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
20-
<property name="prefix" value="/WEB-INF/" />
21-
<property name="suffix" value=".jsp" />
24+
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
25+
<property name="prefix" value="/WEB-INF/" />
26+
<property name="suffix" value=".jsp" />
2227
</bean>
2328
</beans>
Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
4-
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
5-
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
6-
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
7-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
8-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
9-
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:mvc="http://www.springframework.org/schema/mvc"
5+
xmlns:tx="http://www.springframework.org/schema/tx"
6+
xmlns:context="http://www.springframework.org/schema/context"
7+
xsi:schemaLocation=
8+
"http://www.springframework.org/schema/mvc
9+
http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
10+
http://www.springframework.org/schema/tx
11+
http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
12+
http://www.springframework.org/schema/beans
13+
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
14+
http://www.springframework.org/schema/context
15+
http://www.springframework.org/schema/context/spring-context-3.1.xsd">
1016
<bean id="HandlerMapping"
11-
class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" />
12-
17+
class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"/>
1318
<bean name="/greeting.html"
14-
class="com.baeldung.spring.controller.SimpleControllerHandlerAdapterExampleController" />
15-
19+
class="com.baeldung.spring.controller.SimpleControllerHandlerAdapterExample"/>
1620
<bean id="viewResolver"
17-
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
18-
<property name="prefix" value="/WEB-INF/" />
19-
<property name="suffix" value=".jsp" />
21+
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
22+
<property name="prefix" value="/WEB-INF/" />
23+
<property name="suffix" value=".jsp" />
2024
</bean>
2125
</beans>

0 commit comments

Comments
 (0)