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
. 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 struts 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.
Have you checked out
subject: How to allow only Post method in Struts
* Welcome Mark Cade & Humphrey Sheil
Using struts and complex forms
how to set a ArrayLIst property of form from jsp
passed scwcd with 85%
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015