Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

How to setup package based on Struts2-REST-Showcase app

Haolin

2008-10-14


Author LoginPost Reply
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]

If I tried @ParentPackage(value="struts-default"), everything does not work.

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@(protected)
Skype:saharabear


Haulyn Runner Jason



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.