I did run into some problems in the last week when I tried to use <tiles:put> inside a <tiles:insert>, but that's not something I've done a lot in the past, so I wrote it off to an incomplete understanding of the Tiles JSP tags. I was trying to basically pass a "parameter" object into the page scope of the referenced JSP, but it wasn't being found. My work around was to put things in request scope instead of expecting tiles:put to get them into the page scope of the included tile -- is that the nature of your problem? From the description it could be. I don't quite see how Struts 1.3 could be to blame, but maybe I'm just not thinking about it correctly.
Joe
At 9:10 AM +0100 4/27/05, Marco Mistroni wrote:
Hello all, I found exception stack trace for problem mentioned.. Will it 'enlighten' my problem? I have moved my application from Struts 1.1 to Struts 1.3, and I am currently experiencing problems With Tiles. Attached are all the files that I was using with Struts 1.1. and the application worked just fine.
Full stack trace provided at end of message.. Now, for use with Struts 1.3 I have changed the struts-tiles.tld since I noticed that some classes Were moved to a different package (from org.apache.struts.taglib.tiles to org.apache.struts.tiles.taglib)
So I have replaced all org.apache.struts.taglib.tiles to org.apache.struts.tiles.taglib, but still when running My application I got exception.
Can anyone spot what's the problem with tiles? Am I using the correct struts-tiles.tld? Do I need additional files? I tried to put the two logging files mentioned in the Tiles documentation in my \classes directory, but still I am experiencing same problem.
Has anyone succeeded to use tiles with Struts 1.3?
Thanks in advance and regars Marco
************ STACK TRACE *******************
22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - -loadLocale() 2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - - Loading resource 'org/apache/struts/taglib/html/LocalStrings.properties' 2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - - Loading resource completed 2005-04-26 22:46:47,234 ERROR [org.jboss.web.localhost.Engine] ApplicationDispatcher[/strutschain-web] Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException at org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:366 ) at org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:186) at org.apache.jsp.insertBody_jsp._jspService(insertBody_jsp.java:172)
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]