You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vernon <vw...@yahoo.com> on 2005/07/17 20:36:11 UTC

[Tiles] No mapping error with the Spring MVC Framework

After having a set of pages definited with Tiles, I
add another page in the same fashion as the rest:

	<definition name="viewNews" extends="template">
		<put name="title" 	value="RSS News Reader"/>
		<put name="content"
value="/WEB-INF/jsp/viewNews/content.jsp"
type="page"/>
		<put name="menu" 
value="/WEB-INF/jsp/viewNews/menu.jsp" type="page"/>
	</definition>

and the "template",

	<!-- DEFAULT MAIN TEMPLATE -->
	<definition name="template"
page="/WEB-INF/jsp/template/main.jsp">
	</definition>

I get this no mapping error:

org.springframework.web.servlet.PageNotFound.noHandlerFound(833)
- No mapping for
[/myapp/WEB-INF/jsp/template/main.jsp] in
DispatcherServlet with name 'myapp'

I don't understand how the mapping path has the name
as a prefix in this single case.

Any idea?

Thanks,

Vernon




		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org