Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Please add to your dispatcher.servlet.xml</p> <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:beans="http://www.springframework.org/schema/beans" xsi:schemaLocation=" http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd"&gt; &lt;context:annotation-config /&gt; &lt;mvc:annotation-driven /&gt; &lt;context:component-scan base-package="com.michat" /&gt; &lt;bean class="org.springframework.web.servlet.view.UrlBasedViewResolver"&gt; &lt;property name="viewClass" value="org.springframework.web.servlet.view.tiles3.TilesView" /&gt; &lt;/bean&gt; &lt;bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles3.TilesConfigurer"&gt; &lt;property name="definitions"&gt; &lt;value&gt;/WEB-INF/tiles-defs.xml&lt;/value&gt; &lt;/property&gt; &lt;/bean&gt; </code></pre> <p>This </p> <pre><code>&lt;context:annotation-config/&gt; </code></pre> <p>will activate various annotations like @Required and @Autowired</p> <p>This </p> <pre><code>&lt;mvc:annotation-driven /&gt; </code></pre> <p>is needed to have annotation driven controller.</p> <p>Below configuration simply scans the classpath for annotated components.</p> <pre><code>&lt;context:component-scan base-package="com.antenna.nn.patient" /&gt; </code></pre> <p><a href="http://docs.spring.io/spring/docs/3.2.x/javadoc-api/org/springframework/web/servlet/view/UrlBasedViewResolver.html" rel="nofollow">UrlBasedViewResolver</a> is viewResolver that allows for direct resolution of symbolic view names to URLs. Tiles is needs this. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload