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

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

2009-05-20 Thread Martin Gainty
let the StrutsDispatcher handle the navigation details you'll have to fill in any necessary java classes as well as input/output jsps but the basic structure is outlined in struts.xml illustrated below Martin Gainty __ Verzicht und

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;