This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using convention plugin with tiles type result.

 
Vitaliy Gorbunov
Greenhorn
Posts: 2
  • 0
  • 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
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default convention package
struts.convention.default.parent.package=convention-default.

So I should use @ParentPackage("default")
Or add in struts.properties struts.convention.default.parent.package=default.
Or rename my package to convention-default.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic