File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bare bones Struts 2 application with Tiles

 
Howard Ralstone
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I'm tearing my hair out trying to get a basic site working using Struts 2 and Tiles. I have the latest distribution of each. I downloaded the struts sample apps and can drop them into Tomcat and get them to work with no problem. However, I don't need all the extras that come with the showcase app and the others don't use tiles.
I've been through every tutorial with examples I can find and still can't get even the most basic app to work. I can get one to work without tiles but the second I start monkeying around with tiles I get exceptions out the you know what.

Does anyone have a basic, skeleton app that can be zipped and emailed or put on a server where I can download it? I'm at the point where I just want to say screw tiles, I'll use includes

Thanks,

Howard
 
Howard Ralstone
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Woo hoo! I finally got one working. I ended up taking the files from the roseindia tutorial, deleted their old jar files, and replaced them with the new files from the struts 2 download. Reworked the code found here. Struts/Tiles Integration tutorial
Worked like a charm.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic