Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Using convention plugin with tiles type result.

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the small project, which use struts2 with tiles templates and action's configs in struts.xml.
It worked nice, until i decided to use convention plugin.
It was:

Now I'm use

When I start my app on glassfish server it throws exception: Unable to load configuration. - [unknown location]
When I change location to some jsp file and remove type param it works.

I have not found any information about using convention plugin with tiles.
Can anyone help?
Vitaliy Gorbunov
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default convention package

So I should use @ParentPackage("default")
Or add in struts.convention.default.parent.package=default.
Or rename my package to convention-default.
You didn't tell me he was so big. Unlike this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic