struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miles, AJ \(Alistair\)" <>
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?



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
Oxfordshire OX11 0QX
United Kingdom
Tel: +44 (0)1235 445440

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message