• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.........

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
reply
    Bookmark Topic Watch Topic
  • New Topic