|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
How to setup package based on Struts2-REST-Showcase app?Hi, all
I test my application based on Struts2-REST-Showcase.2.1.2Beta app. Without any changes, it works well and looks pretty good. But I need to do something more, so I create struts.xml and set up some new Interceptors and packages. I want to reset the package of OrdersController. I mean I create a package inherent to json-default which is named "website", but I can not use @ParentPackage(value="website") to define it. The error message as:Caused by: ClasspathPackageProvider: Unable to locate parent package website - [Unknown location] I can not find what's wrong with this. Thanks for anyone's suggestions. -- Thanks! Mobile: +086-15864011231 Website:http://www.openmotel.cn http://www.vvthumb.com GTalk:saharabear@... Skype:saharabear Haulyn Runner Jason --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
|
|
|
Re: How to setup package based on Struts2-REST-Showcase app?Since I have not seen your struts.xml, I can just reply based on some assumption. Please make sure your package name is website, e.g.
<package name="website" extends="struts-default"> HTH J
|
| Free embeddable forum powered by Nabble | Forum Help |