Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Facing an issue trying to use Struts 2.0.14 with Tiles 2.0.

 
akshat Singh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am very new to Struts 2.
I am having problem using Struts 2.0.14 with Tiles 2.0.

When I insert the following information in my web.xml I get an exception:


Stacktrace:


I have the following jars:
struts2-tiles-plugin-2.0.14.jar
tiles-api-2.0.4.jar
tiles-core-2.0.4.jar
tiles-jsp-2.0.4.jar

Finally my application INAT is not running when using the Tiles and when I am removing the listner from the web.xml file the application successfully loads but I want to use Tiles in my application. My configuration files are as under:

1. web.xml


2. tiles.xml


3. struts.xml


4. Welcome.jsp



Please Help.........

 
Miguel Almeida
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The log message isn't very helpful...
Just on a sanity check; do you have your tiles.xml in the WEB-INF directory?
 
akshat Singh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes my tiles.xml is in WEB-INF Directory........

The name of my application is INAT
Full Stacktrace is as under:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic