File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes How stop this Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How stop this" Watch "How stop this" New topic

How stop this

manish krishnan

Joined: May 11, 2010
Posts: 26

in my application i want to stop submitting same data twice.. that is if a customer clicks a submit button the form data will submit slowly. during inserting the data in the database. if the customer again clicks the submit button. i want to tell customer "Please Hold your data is already getting processed".

Thanking You
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Which version of struts are you using, it can be handled differently in 1.x and 2.x

Have Fun with Java
little,little.. little by little makes a lot..
manish krishnan

Joined: May 11, 2010
Posts: 26
Shankar Tanikella, i am using struts 2.x
I agree. Here's the link:
subject: How stop this
It's not a secret anymore!