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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to