Hi Salvatore,
firstly I'm sorry for the late answer. Unfortunately (or fortunately
depending on the point of view) I was not able to reproduce the
behavior you described.
I've been using the Struts Blank Web App [1] for my test (you can also
download the Blank Web App from the download page [2])
I
he crude and hard reality ===
> This is the response i got:
> {
> "methods":[{"name":"method1",...}],
> "objectName":null,
> "serviceType":"JSON-RPC",
> "serviceUrl":"/context/SMDAction",
> &quo
uot;,
"version":"10.0"
}
=== The output in the crude and hard reality ===
This is the response i got:
{
"methods":[{"name":"method1",...}],
"objectName":null,
"serviceType":"JSON-RPC",
"serviceUrl":"/context/SMDAc
> true
> false
>
>
> true
> text/html
> false
>
>
> ...
>
>
> Basically all works great, except @SMD annotation is totally ign
;> @SMD(objectName = "TEST", serviceType = "JSON-RPC", version = "10.0")
>>> public class SimpleJAction {
>>> public String smd()
>>> {
>>> return Action.SUCCESS;
>>> }
>>> @SMDMethod
>>>
method="smd">
>>
>> true
>> false
>>
>>
>> true
>> text/html
>> false
>>
>>
>>
t;
>
> true
> false
>
>
> true
> text/html
> false
>
>
> ...
>
>
> Basically all works great, except @SMD annotation is to
false
true
text/html
false
...
Basically all works great, except @SMD annotation is totally ignored
(compile support seem works great!)
In the first method called in class SimpleJsonAction,
8 matches
Mail list logo