i've downloaded the demo apps for struts 2 v2.3.5 SNAPSHOT for today.
i am trying to understand and study the rest struts2-rest-showcase
webapp.
in the rest showcase, the OrdersController class has the following method.
public String editNew() {
model = new Order();
return "editNew";
}
the use
ts" with a value of "New order
> created successfully" and return it quite easily. If the struts2
> document is insufficient there are plenty of examples also on
> StackOverflow, so take a look there too (Including many annotation
> based examples).
>
> On Thu, Oct 4,
with struts2 +
convention + rest ?
before using the struts2-json-plugin, my action would extend
ActionSupport and implement ServletRequestAware and
ServletResponseAware. i would then simply use ServletOutputStream to
write the JSON/XML stuff directly. it's not elegant, but i might
kludge an
d json.
>
> see our example.at www.nurdoo.org
>
> source in nurdoo.java.net
>
> Frans Thamura
> Meruvian
> On Oct 5, 2012 7:11 PM, "Jane Wayne" wrote:
>
>> not really/entirely what i'm looking for. the struts2-json-plugin
>> supports json. but w
; the way our rest model is not using smd which you can get in s2 default rest
>> plugins
>>
>> please visit our s2restplugins.java.net
>>
>> may be this plugins and small wiki can explain more.
>>
>> the category has extended from default persistanc. you mus
5 matches
Mail list logo