Thank Dave.

I wanted to steer away from writing yet another interceptor to handle
something that should be built-in.  BTW, I think the struts-default.xml
interceptor stack for executeAndWaitStack needs to be fixed in 2.0.9. It
specifies the execAndWait ref twice!

Scott 



newton.dave wrote:
> 
> --- stanlick <[EMAIL PROTECTED]> wrote:
>> Is there a way in S2 to specify that say
>> /order/checkOut.action should only be
>> processed if it was submitted as a METHOD="POST"? 
>> I'm trying to close the door on an accidental 
>> request through the address bar!
> 
> Nothing built-in that I'm aware of, although some of
> the experimental RESTful stuff in 2.1 might cover this
> usecase (haven't looked at it yet).
> 
> I handled it via an interceptor.
> 
> d.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/form-method-tf4447940.html#a12692025
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to