Hi All, I'm having a problem using Tiles (nightly build of Struts). Cedric, I don't know if you'd perhaps be able to give me a suggestion.
I'm using a template and including the main body of the page inline, i.e. within the <template:put name='body'> tag. So I have a number of tags as follows: <template:insert template='/templates/headerNavBody.jsp'> <template:put name='title' content='My Title' direct='true'/> <template:put name='header' content='/header.jsp' /> <template:put name='nav' content='/nav.jsp' /> <template:put name='body' type='string'> ....... main body HTML here .......... </template:put> In the backend Struts classes I trace the objects activity to see what's going on. When I do a search the first time, the page redisplays with a list of search results. However, if I do another search, the page simply redisplays the first search results, no matter what I input. However, looking at the trace, the system is performing the search successfully. It seems however that after the first search, and results display, when a second search is performed and the system does a findForward() back to the results page, the JSP execution goes awry at the first insert tag and just hangs... it doesn't return. I know this because I inserted a simple <% System.out.println("At start of page"); %> before the <template:insert.../> tag and this shows up on the console, but the results don't show on the browser... or at least, not the correct results, even though they are correctly retrieved. Sorry, I'm repeating myself just so I'm not ambiguous about anything I've explained about the problem. One other clue is that when I got frustrated one time and hit the Search button a number of times, and then hit Ctrl-C to kill my appserver, the server suddenly spewed out a bunch of stack traces indicating connection reset by peer. So it seems like all my requests were queued somewhere waiting for a JSP resource or something to be released or something of that nature, but I'm not sure where. Anyway, any help will be appreciated. I really like using the design above because it prevents me from having to duplicate all my template definitions and the main body pages and just combine them into one page. regards, Darryl Pentz _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>