That's a good point, so I guess I'll use a standard Servlet which seems to be
the right thing to do anyway. Seems like adding BookmarkablePage will
complicate things and I prefer KISS :)

Thanks,
-Arun


igor.vaynberg wrote:
> 
> why is it "even" with Wicket?
> 
> Wicket is for building UIs, is json a UI? no. use a servlet.
> 
> -igor
> 
> On Wed, Aug 5, 2009 at 2:41 PM, arungupta<[email protected]> wrote:
>>
>> Some background ...
>>
>> I'm trying to build a sample application using different Web frameworks
>> and
>> Wicket is one of them. More details at:
>> http://kenai.com/projects/runner/pages/Home
>>
>> Regarding pure Servlet approach, I agree and that's what I'm going to do
>> when I built my sample application using a pure Java EE application.
>>
>> This time, I'm trying to see if this can be done purely in Wicket though.
>> Or
>> even with Wicket I need to fall back to Servlets ?
>>
>> -Arun
>>
>>
>> Alexandru Objelean wrote:
>>>
>>> Why would you use wicket for this? The simplest approach is a plain
>>> servlet..
>>>
>>> Alex Objelean
>>>
>>>
>>> arungupta wrote:
>>>>
>>>> I need to define couple of URLs in my app that return JSON data on GET
>>>> request and are not tied to any view. Planning to use
>>>> QueryStringUrlCodingStrategy and append the URL as
>>>> "type=runlogs&chart=barchart". Then in the WebPage, extract the query
>>>> string and process them.
>>>>
>>>> How do I ensure that JSON data is returned for GET requests to those
>>>> URLs
>>>> ?
>>>>
>>>> Thanks,
>>>> -Arun
>>>>
>>>> --
>>>> Need Application Server ? - Download glassfish.org
>>>> Blog: http://blogs.sun.com/arungupta
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Processing-GET-requests-tp24836398p24836690.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Processing-GET-requests-tp24836398p24837497.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to