wood burning stoves 2.0*
The moose likes Struts and the fly likes tiles exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles exception" Watch "tiles exception" New topic
Author

tiles exception

Mohd Asim
Greenhorn

Joined: Jul 04, 2007
Posts: 24
I am developing a web application which uses tiles for UI management. this application is deployed in weblogic 9.1; JDK 1.5.0_04 uses oracle10g.

Whenever weblogic starts i get a parse exception stating that . There is absolutely no problem in tiles-defs.xml or in any other JSPs. Thanks in advance.
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
I believe the error does lie in your tiles-def.xml file only. Maybe you're not specifying as many <put> elements in your tiles-def.xml file as many <tiles:insert> tags you have specified in your base layout JSP file
Mohd Asim
Greenhorn

Joined: Jul 04, 2007
Posts: 24
The same definitions used to work fine with weblogic v8.1 but in weblogic 9.1, it throws an exception
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
Then could it be a problem with incompatible JAR files. I would suggest you download the latest Tiles JAR and TLD files and then see if the problem still persists.
If that too doesn't work, maybe you can post snippets of your Layout JSP and the tiles-def.xml files.
Mohd Asim
Greenhorn

Joined: Jul 04, 2007
Posts: 24
i am using struts 1.1 and have downloaded tiles.jar with version 2.0.5... but the struts.jar file already has the tiles.jar and is using that.. how do i make sure that it uses the new tiles.jar?
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
Originally posted by Mohd Asim:
... but the struts.jar file already has the tiles.jar and is using that.. how do i make sure that it uses the new tiles.jar?


I'm not sure I quite understand that part. Are you saying that the Tiles.jar file is archived within the struts.jar file? In that case, I suggest you delete the tiles JAR file from the struts archive so that the web-app picks up the correct tiles JAR file.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: tiles exception
 
Similar Threads
Null error in "Menu" Tile
How tiles are resolved in a JSP page
Tiles insert throwing a Null exception
Using Tiles Definition in getRequestDispatcher()
getting object error on my JSP