A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to allow only Post method in Struts
passed scwcd with 85%
how to set a ArrayLIst property of form from jsp
Using struts and complex forms
* Welcome Mark Cade & Humphrey Sheil
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013