Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 11-05-07, 02:28 PM   #1 (permalink)
Member
 
harikotha's Avatar
 
Join Date: Oct 2006
Posts: 66
Thanks: 2
Thanked 1 Times in 1 Posts
Thanks: 2
Thanked 1 Time in 1 Post
Rep Power: 3 harikotha will become famous soon enough
Question Multiple Submission

Hi to All,
I got a problem tht, i have to avoid the multiple submissions in a page i.e if i am going to clik a button more than once the only first click should perform the operatoin and remaining will give some alerts ...

So how to solve this problem?let me know the answer if any one know's abt this plz...
harikotha is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-07, 03:56 PM   #2 (permalink)
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117
Thanked 241 Times in 198 Posts
Thanks: 117
Thanked 241 Times in 198 Posts
Blog Entries: 4
Rep Power: 51 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute
Re: Multiple Submission

In actionPerformed event, disable the button. So, as soon as the user clicks it for first time, button gets disabled and later you do what ever txn you want to do. Once button is disabled, user can't click that button again.

Thanks,
Krishna
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation.
sk_kireeti is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to sk_kireeti For This Useful Post:
krishnareddy (12-05-07), t_mohan (14-05-07)
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple inheritance - objects contain howmany multiply inherited ancestor? radhika_btech ds. c , c++ Interview / Technical Questions 2 14-03-07 09:07 PM
ADO.net - Why can't we use Multiple inheritance preethisingh vb / asp.net Interview / Technical Questions 0 25-01-07 07:10 PM
MS.net 2.0 - How can create multiple inheritance inc# preethisingh vb / asp.net Interview / Technical Questions 0 25-01-07 06:26 PM
Order of constructor and destructor call in case of multiple inheritance? radhika_btech Networking Interview / Technical Questions 0 23-01-07 08:25 PM
C language -When is a switch statement better than multiple if statements? GEEK ds. c , c++ Interview / Technical Questions 0 23-01-07 01:18 PM


All times are GMT +6.5. The time now is 02:46 PM.





Search Engine Optimization by vBSEO 3.1.0