struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: 2 View, and optional JSON
Date Sat, 09 Oct 2010 22:09:40 GMT
Why? Is the data returned from the service different from the data you'd
return on the page?

Even if it is, it's not going to be significantly different, and the pages
returning data for html rendering is only going to have slightly more data.
 On Oct 9, 2010 6:00 PM, "Frans Thamura" <frans@meruvian.org> wrote:
> my idea to spilt the WEb API (REST) with JSON with our current html code
>
> and need to make it effective
>
> or my mind worst ;)
>
> F
>
> On Sun, Oct 10, 2010 at 4:23 AM, Dave Newton <davelnewton@gmail.com>
wrote:
>> And HTML, and could be extended to create anything else you wanted.
>>
>> On Saturday, October 9, 2010, Frans Thamura <frans@meruvian.org> wrote:
>>> the REST automatically create JSON and XML
>>>
>>> F
>>>
>>>
>>> On Sun, Oct 10, 2010 at 3:24 AM, Dave Newton <davelnewton@gmail.com>
wrote:
>>>> The REST plugin already returns data based on the URL suffix--what's
>>>> wrong with using that mechanism?
>>>>
>>>> On Saturday, October 9, 2010, Frans Thamura <frans@meruvian.org> wrote:
>>>>> hi all
>>>>>
>>>>> we need all ur tips
>>>>>
>>>>> we wanna to create a REST Action but with optional JSON, and 2 view
>>>>>
>>>>> the idea we wanna to create a full blown website, mobile edition using
>>>>> sencha touch, and optional JSON to make REST as service producer
>>>>> (consume by android)
>>>>>
>>>>> but not all the Action can become JSON
>>>>>
>>>>> any idea all?
>>>>>
>>>>> F
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message