eve wrote:
has it ever happened to you that a little apparently insignificant
change in the jsp caused tiles not to work and all pages composed with
tiles to appear completely blank?
I really can't find the cause!
Tiles can sometimes 'swallow' errors rendering a JSP without logging
them, returning empty pages. Double check your logs first to see if the
problem *is* being logged, but if not a couple of approaches you can try
to track down the problem:
- try loading your JSPs directly if you can (i.e. without going
through Tiles). That may not be trivial if your JSPs need data
prepopulated by Struts actions though.
- try wrapping the content of each JSP with a try / catch (using the
JSTL tags or runtime scriptlets) and log any exceptions; this can help
you see them before they get swallowed by the Struts/Tiles request
processing machinery
- try stepping through your JSPs in a debugger. It *really* helps if
you have an IDE that supports this well, since just stepping through the
Java code generated from the JSP isn't very helpful
Good luck!
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]