I just fixed the problem. The attribute for definition is name, and not id. That was the problem.
Thanks anyway. Regards. Antonio Petrelli-3 wrote: > > Please re-post this email to the Struts users mailing list. > > Antonio > > 2008/8/3 ElCrackdel83 <[EMAIL PROTECTED]>: >> >> Actually I have a problem at the startup with the log4j that it did not >> happen before I configure tiles and definitions. So to try I had to >> remove >> log4j of my app. The error I get with log4j it seems to do with tiles. >> It's >> the next one: >> >> og4j:ERROR Failed to excute sql >> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an >> error >> in your SQL syntax; check the manual that corresponds to your MySQL >> server >> version for the right syntax to use near 'name" is required and must be >> specified for element type "definition". - org.apa' at line 1 >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> >> Antonio Petrelli-3 wrote: >>> >>> Oh sorry, please ask it at the Struts Users mailing list: >>> http://struts.apache.org/mail.html >>> >>> >>> By the way, what is the struts mailing list? >>> >>> Thanks for your answer. Thank you so much. >>> >>> Antonio >>> >>> 2008/8/3 Antonio Petrelli <[EMAIL PROTECTED]>: >>>> 2008/8/3 ElCrackdel83 <[EMAIL PROTECTED]>: >>>>> org.apache.struts.tiles.NoSuchDefinitionException >>>>> at org.apache.struts.tiles.taglib.InsertTag.processDe >>>>> finitionName(InsertTag.java:568) >>>> >>>> Usually it happens when you mistyped your definition (that does not >>>> seem your case) or when something wrong happened at startup. >>>> Is there an error that happens at startup? >>>> >>>> Antonio >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Struts-1.3.8-and-tiles----I-get-a-NoSuchDefinitionException-tp18797838p18797986.html >> Sent from the Struts - Dev mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-1.3.8-and-tiles----I-get-a-NoSuchDefinitionException-tp18797838p18799683.html Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]