Select Categories Below
Advertisement
Start Your Own Q&A Site
Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.
Status: Open Points: 125 Time: 06:13 - Sep 14, 2007
219129
In my application i have problem. My application performs in such a way that if user successfully submits the data a email will be generated and will be send to respective user who has submitted the request. After that if the user clicks on the browser's back button the second email will be received by the user this is what we would not except. Is it possible to get the browser's back status into Servlets so that we can restrict the condition for sending a email? Let me know incase of any concerns you have. If possible get me the code as well Technolgies using: .htm, Java servelts, java script.
Categories:
Add Categories
When adding more than one category, separate them with commas.
PeterNZ
Date:: Sep 17, 2007
Time:: 17:31
Sorry I am not a Java guy but maybe you can do the same what we do in .Net. There is a property called IsPostBack which is true if a page is reloaded based on a post back event. If a button is clicked, the page does a post back. if the user hits the back button, the page load is not through a post back. So if you do the email send only On Post back you should avoid sending it twice. Cheers Peter
Time:: 23:46
Thanks for your response. But in my application am using the email functionality in doGet() method of the Servlet i can not modify the email sending functionality from doGet() method will be automatically called when page reloads again. So please suggest me is there any other way to know the back button status i.e. if user clicked on the browser's back button or not by usnig java script or java servlets. So please suggest me is there a
Date:: Sep 18, 2007
Time:: 00:29
No sorry, not from the top of my head. I found this webpage: http://www.hunlock.com/blogs/Mastering_T... maybe you find the solution there Cheers Peter
Time:: 03:00
Thanks for quick response. I could not get the solution over the link which you have provided to me. Let me get some more suggesstions on this.
admin
Date:: Mar 04, 2009
Time:: 09:57
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points. The Quomon Team
jessonh
Date:: Dec 27, 2010
Time:: 07:33
Hey, are you bothered with the slow internet connection, here is an easy to solve your problem, to install a PC protector or cleaning, according to my personal experience, Tuneup360 is good choice, and your computer takes only 30 sec to start up if you have it!!
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
Hi is there a way to retrieve the loop count in XSLT
how do repair this problem: every times i opened my laptop it will suddenly n...
How i get the hp pavilion dv6-3054tx laptop bottom base assembly as a sparepa...
I don't have AOL browser but privacy scan shows hundreds of files/cookies fro...
wireless keyboard has stopped working
need validation controller for textbox in java
You have 100 characters to use
Rank
Expert
Points
1.
10279
2.
6493
3.
5596
4.
4848
5.
3487
6.
2840
7.
2770
8.
2303
9.
1820
10.
917
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software