Re: Struts2+ReST-plugin prolems need help!!!

2009-05-28 Thread Stuart Ellidge
Hi, I’m not an expert with the internals of the REST plugin, but am using it fairly extensively. By and large we use annotations in our classes to determine results (see org.apache.struts2.convention.annotation.Results) but it is certainly possible to define some globals and it is definitely po

Re:RE: Struts2+ReST-plugin prolems need help!!!

2009-05-20 Thread xnpeng
abilité pour le contenu fourni. > > > > >> Date: Wed, 20 May 2009 18:36:57 +0800 >> From: xnp...@163.com >> To: user@struts.apache.org >> Subject: Re:Re: Struts2+ReST-plugin prolems need help!!! >> >> >> Hi Dave! >>I&#x

RE: Struts2+ReST-plugin prolems need help!!!

2009-05-20 Thread Martin Gainty
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 20 May 2009 18:36:57 +0800 > From: xnp...@163.com > To: user@struts.apache.org > Subject: Re:Re: Struts2+ReST-plugin prolems need help!!! > > > Hi Dave!

Re:Re: Struts2+ReST-plugin prolems need help!!!

2009-05-20 Thread xnpeng
Hi Dave! I'm using Struts2.1.6 and struts2-rest-plugin-2.1.6. first ,I need a global error page when exception happen like this: Stacktraces java.lang.NoSuchMethodException: com.xunan.sitexa.rest.MainController.a() java.lang.Class.getMethod(Unknown Source) org.apache.struts2.interce

Re: Struts2+ReST-plugin prolems need help!!!

2009-05-19 Thread Dave Newton
xnpeng wrote: I'm doing my project with struts2+rest-plugin for about 3 months.there is a lot of problems unresolved. With rest-plugin and convention-plugin,all action-mapping are done automatically,manual action-mapping in struts.xml cannot work.so, 1, I cannot define global-error-result; 2,

Struts2+ReST-plugin prolems need help!!!

2009-05-19 Thread xnpeng
I'm doing my project with struts2+rest-plugin for about 3 months.there is a lot of problems unresolved. With rest-plugin and convention-plugin,all action-mapping are done automatically,manual action-mapping in struts.xml cannot work.so, 1, I cannot define global-error-result; 2, I cannot do for