Announcement Announcement Module
No announcement yet.
Spring MVC project using Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC project using

    Hello everybody, I would like to ask you about configuring Spring MVC project with Tiles 2. I have reviewed some tutorial and examples but I stiil have a problem. I have analyzed this tutorial

    In my Dispatcher Servlet I have this code:

    <beans:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    		<beans:property name="prefix" value="/WEB-INF/views/" />
    		<beans:property name="suffix" value=".jsp" />
    		<beans:property name="order" value="1" />
    <beans:bean id="tilesviewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
     		<beans:property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView" />
      		<beans:property name="order" value="0" />
    	<beans:bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer">
    		<beans:property name="definitions">
    Are there correct definitions? For jsp files is correct and this is still working. But for new defined tiles I am getting HTTP Status 404. How can I properly configure this in my Distpatcher Servlet?

    EDIT: Sorry, I haven't finished my thread title. It would be "Spring MVC project using Tiles".