users@jersey.java.net

Re: [Jersey] Testing GET resources in a browser

From: Imran M Yousuf <imran_at_smartitengineering.com>
Date: Wed, 27 Aug 2008 13:20:47 +0600

On Wed, Aug 27, 2008 at 12:50 PM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
<snip>
> Nowhere in Jersey is there code to return an invalid command with the
> servlet path. A wild guess: i wonder if the app server is checking if the
> returned content and media type and saying that the content is not valid
> text/html ?

I was also thinking the same thing, but what I was not sure of whether
text/html requires explicit @Producer or not. You (Jerry) could also
try with text/plain as MIME type,

- Imran

>
> Paul.
>
>>
>> What am I missing? Is the browser not generating a GET request to the
>> resource?
>>
>> Thanks for any help...
>> jerry..
>> --
>> View this message in context:
>> http://n2.nabble.com/Testing-GET-resources-in-a-browser-tp785201p785201.html
>> Sent from the Jersey mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>



-- 
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran_at_smartitengineering.com
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557