A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to allow only Post method in Struts
Joined: Aug 03, 2005
Oct 21, 2005 01:23:00
How can we allow only Post method in Struts. I want to disable Get method.
any examples or useful links for this...
[ October 21, 2005: Message edited by: sudheer yed ]
A Moment's insight is sometimes worth a Life's experience.
Wagner Danda Da Silva Filho
Joined: Mar 21, 2003
Oct 21, 2005 07:34:00
Hi, look at the web for Extending
RequestProcessor. You might find in this class a "doGet" method or something similar...
Joined: Feb 05, 2003
Oct 21, 2005 09:44:00
I think you can set such a constraint from the web.xml. It allows you to specify http-method for a security-constraint.
A good workman is known by his tools.
I agree. Here's the link:
subject: How to allow only Post method in Struts
Using struts and complex forms
passed scwcd with 85%
how to set a ArrayLIst property of form from jsp
* Welcome Mark Cade & Humphrey Sheil
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013