So this might not be a stripes issue. I'm using jetty and I ran across this
thinking maybe jetty wasn't configured to handle anything but GET and POST.
I know on most app servers you can turn off/on verbs,
http://jira.codehaus.org/browse/JETTY-669
What I don't get is why the fix was to not let the default servlet handler
handle anything but GET and POST? This, I think, would explain why I am
getting a 405. It is more of a VERB NOT ALLOWED error than anything else.
I'm going to see about doing this in Tomcat, which pisses me off because of
the way I use modules, tomcat won't let you specify locations to lib folders
and what not.
I hate JEE dev sometimes.
Gregg
On Mon, Feb 23, 2009 at 6:37 PM, Gregg Bolinger
<[email protected]>wrote:
> Well, according to Aaron, since 1.5.1, Stripes is supposed to be handling
> PUT and DELETE. I am using the latest from the trunk, so technically, 1.6.
> Whenever I issue a PUT or DELETE to my app I get a 405. I'm using the
> Poster FF plugin for testing. No exceptions are thrown, it just seems to me
> that Stripes doesn't know what to do with the request. Should I log this in
> JIRA or am I possibly doing something wrong?
>
> Thanks
>
> Gregg
>
>
> On Mon, Feb 23, 2009 at 12:54 PM, Oscar Westra van Holthe - Kind <
> [email protected]> wrote:
>
>> On 23-02-2009 at 11:30, Gregg Bolinger wrote:
>> > If I needed to add support in stripes for handling PUT and DELETE where
>> is
>> > the best place to do that?
>>
>> In the DispatcherServlet. IIRC, currently Stripes implement the doGet(...)
>> and
>> doPost(...) methods; one points to the other. You could to the same for
>> doDelete(...) and doPut(...).
>>
>>
>> Oscar
>>
>> --
>> ,-_
>> /() ) Oscar Westra van holthe - Kind
>> http://www.xs4all.nl/~kindop/<http://www.xs4all.nl/%7Ekindop/>
>> (__ (
>> =/ () DRM "manages access" in the same way that a jail "manages
>> freedom".
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users