wood burning stoves 2.0*
The moose likes Struts and the fly likes Using convention plugin with tiles type result. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using convention plugin with tiles type result." Watch "Using convention plugin with tiles type result." New topic
Author

Using convention plugin with tiles type result.

Vitaliy Gorbunov
Greenhorn

Joined: Nov 13, 2010
Posts: 2
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

Joined: Nov 13, 2010
Posts: 2
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
 
subject: Using convention plugin with tiles type result.
 
Similar Threads
Facing an issue trying to use Struts 2.0.14 with Tiles 2.0.
But this code, throws the exception "The Struts dispatcher cannot be found".
Struts 2.1 Need two different success results
"No configuration found for the specified action" error in struts2
Problem with namespace in Struts 2