-
Apr 11th, 2007, 03:36 AM
#1
how to include view in another view
I have a view hours.htm which has its own controller.
I want to load another view inside it:
<jsp:include page="menu.htm" flush="true" />
menu.htm has its own controller.
but it does not work.
how can I do it?
-
Jan 3rd, 2008, 05:04 PM
#2
Hello all.
I'm new to Spring, and I'm looking for an answer to this same problem.
In my particular situation, when I include (using the example in the previous post) "menu.jsp", everything works fine. If I include the reference to the spring-mapped view, however, "menu.htm", I get a completely blank page in the browser, and no information about what happened in the logs.
Any info, even a pointer to a specific section of the documentation, would be helpful.
I have read all of chapter 13 to no avail, and lots of looking has turned up no good indication of what might be going wrong.
Thanks to all.
-
Jan 4th, 2008, 03:21 AM
#3
fix
Just add a slash to the page url:
<jsp:include page="/menu.htm" flush="true"/>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules