struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miles, AJ \(Alistair\)" <A.J.Mi...@rl.ac.uk>
Subject HTTP method for action-mappings
Date Mon, 04 Jul 2005 18:11:29 GMT
Hi all,

A struts-config.xml file is a great way to formally specify a REST API.  However, with struts
1.2 you cannot configure separate action mappings for GET vs POST requests to the same resource.
 What about adding a 'method' attribute to the 'action' element?

Cheers,

Alistair.  

P.S. Sorry if this has come up already, I'm new to this list.

---
Alistair Miles
Research Associate
CCLRC - Rutherford Appleton Laboratory
Building R1 Room 1.60
Fermi Avenue
Chilton
Didcot
Oxfordshire OX11 0QX
United Kingdom
Email:        a.j.miles@rl.ac.uk
Tel: +44 (0)1235 445440


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message