Hello,
I have a web application with diferents modules, which everyone have a DispatcherServlet in the web.xml:
Directory of Application:<servlet>
<servlet-name>clientes</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherSe rvlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>usuarios</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherSe rvlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>clientes</servlet-name>
<url-pattern>/clientes/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>usuarios</servlet-name>
<url-pattern>/usuarios/*</url-pattern>
</servlet-mapping>
i want that index.html have links to indexXXX.html of the modules of application:/index.html
/WEB-INF/...
/clientes/indexClientes.html
/usuarios/indexUsuarios.html
when i click link don't find page: HTTP Status 404.<a href="clientes/indexClientes.html">Clientes</a>
<a href="usuarios/indexUsuarios.html">Usuarios</a>
another question:
i have a Controller and i want to redirect to a html page.
have i to register the html in views.properties? how??? what View???Code:return new ModelAndView(xxxxxx);
thanks in advance,
César.


Reply With Quote