Can anyone help me??? thanks
how to avoid duplicating submit of jsp ????
There are two jsp which i call 1.jsp and 2.jsp ; a method in a action.
in 1.jsp one should write his or her name in the blank and then click the "submit" button to skip to the method in which the name will be transferred to a database which i can't control. If it succeeds, at the end of the method it will findForward to 2.jsp. But if you click the backout button on IE or the backspace button on keyboard to 1.jsp and write another name in the blank and also click the "submit" button to skip to the method and then the 2.jsp , the name in the database will be changed which is not supposed.
thanks for your help!!!!
jjrainbow
Welcome to web applications.
Why is the name not supposed to be changed?
You entered in a new name and pressed save, so it should save that name to the database right?
What would you expect to happen?
There are a few things you can do to try and stop this. None of them are foolproof though.
1 - After you "save" use a response.redirect() to display the result. That will mean if the user presses the "refresh" button, it won't resubmit the "save" event but the display one.
2 - Use a "token". Struts has support for this. Basically give every page a unique "token" every you serve it. Keep that token in session, and also have it in a hidden field on the page. When the page is submitted you can compare the token submitted to the one you are expecting in session, and if they are different you know the user has been using the back button.
Similar Messages
-
How can I change my bank account details on iCloud ?? I have been sent instructions from Apple via email and they don't appy ?? Can anyone help ? Thanks in advance
You have to change it using iTunes on your computer, as explained here: Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support. (This article: iCloud: View or change your iCloud payment information no longer works with iOS 8 or Yosemite.)
-
I'm new to iPhone and iCloud... I have lots of pics on my iPhone but only some appear on my iPad, they're in Camera Roll on the phone but random ones only have come into Photos on the iPad - can anyone help? Thanks!
Welcome to the Apple Community.
Photostream when enabled will only add photos from the camera roll that were taken post photostream activation. (Photostream does not currently share video)
Photostream only syncs photos over Wi-Fi, make sure you are connected to Wi-Fi to begin with.
Photostream only syncs when the camera app is closed, ensure it is closed.
Photostream only syncs when the battery is above 20%, try recharging the device
Try disabling photo stream on your device (settings > iCloud), restarting your device and then re-enabling photo stream. -
I just downloaded Yosemite operating system and my computer is extremely slow but also not opening my Adobe applications. Can anyone help? thanks!
First, tell Apple about your problems... with details... and hope for an update that fixes your slowness
Second, Yosemite sometimes has problems, often related to "default" permissions needing to be changed
-one person's solution https://forums.adobe.com/thread/1689788
-http://blogs.adobe.com/creativecloud/creative-cloud-and-yosemite/
-https://helpx.adobe.com/x-productkb/global/mac-os-yosemite-compatability.html -
I am trying to update the new settings on my iphone 4s but every time I plug in to update it tells me i need to change my media sync options and I'm unsure how to do this? Can anyone help? thanking you
What exactly does the message say?
-
Installed a cloned 500g solid state hard drive but unable to boot in macbook pro. Can only hear drive spinning quietly, no chime to launch OS. Total darkness. Can anyone help? thanks in advance!
Hi Retired Engineer,
Yes, you're right. It is the Seagate Momentus XT and it does not spin. That was just a layman's term for computer illiterate like myself. After hours of inspection & a prayer, I discovered by pulling the 4 GB memory chips out I put in, replacing the 1.5 GB back in for the memory which I upgraded 3 years ago. Chime! It works! So it is the 4 GB memory causing the problem. But why? Does that mean my Macbook Pro does not support with more memory? The fan noise is now gone which I suspect it was caused the other overheating Seagate hard drive & eventually causing the crash. However, the top bar temp indicator shows 174˙F @ 000rpm. Does that also mean the fan on the left is not working? (the right fan on the board works). Do they work simutaneously? Or left fan is just a back up?
Thanks for your reply & kind gesture. -
I am trying to create an itunes account on an ipad mini IOS 8.1. There doesn't seem to be a link to click 'I agree' to the terms and conditions on the email sent to me. Can anyone help? Thanks.
Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
More details of how:
http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/ -
Lost my contacts list and try to restore from backup and it ask for my password to unlock my iphone backup. I don't remember creating a password for it. Can anyone help? Thanks.
If you encrypted the backup, there is no way around it. You will need to configure your iPhone as a new device.
From iTunes: About iOS backups:
In the iTunes Summary screen, select "Encrypt iPhone backup" if you want to encrypt the information stored on your computer when iTunes makes a backup. Encrypted backups are indicated by a padlock icon, and a password is required to restore the information to iPhone. You may want to write down the password for your backup and store it in a safe place. If you use a Mac, when you set a password you can select to store the password in the keychain. With iOS 4 and later, you can transfer the iOS keychain backup to a new device if you encrypt the backup.
Warning: If you encrypt an iPhone backup in iTunes and then forget your password, you will not be able to restore from backup and your data will be unrecoverable. If you forget the password, you can continue to back up and use the device, however you will not be able to restore the encrypted backup to any device without the password. You do not need to enter the password for your backup each time you back up or sync.
If you cannot remember the password and want to start again, you must perform a full software restore and when iTunes prompts you to select the backup from which to restore, choose set up as a new device. -
I have photos on a USB memory stick which I want to put onto my iPad. I bought the USB adaptor but for some reason the iPad is not recognising the memory stick. Can anyone help? Thank you
You need to create a DCIM directory off the root of the card, with the photos underneath it, and the photo filenames need to be exactly 8 characters long (no spaces) plus the file extension i.e. in a similar format as if a camera had created/written them. But a lot of USB memory sticks need more power than is supplied to the kit, so you may need a powered hub between it and kit.
-
Digital camera RAW Compatibility update 6.02 does not seem to update and keeps showing as an update to down;road. Can anyone help. Thanks. Tim
Download it directly from Apple and apply;
Digital Camera RAW Compatibility 6.02 -
I am tryign tor reorder photos ( in library mode) but warning mesage says cannot do
can anyone help?
thank youI believe you can only re-order photos in a collection (but not a smart collection) or in a folder.
Alternatively, you can have Lightroom sort the photos by any one of a number of criteria. -
I'm missing the map pane in Aperture 3.2 Inspector - can anyone help? Thanks!
I'm missing the map pane in Aperture 3.2 Inspector - can anyone help? Thanks!
Do you mean the map-icon in the toolbar, that switches to the Places View?
You can add it again from the main menu with
View -> Customize Toolbar
Just drag it back onto the Toolbar.
Regards
Léonie -
I bought a new Epson printer WR-7620 on Saturday and the Air Printer is not working. I spoke to Epson and they said it is an Apple problem, can anyone help. Thanks Peter
Peter,
deggie gave you that link so you'd know that airprint is a reduced-options print system, designed for mobile devices (not Macs), and you need to use the specific airprint driver on the Mac when adding the printer if you want Airprint, no-options printing. Otherwise, select the "non-airprint" driver when you add the printer.
It may be helpful to Reset the Printing System to get OS X to find the right driver.
Mac OS X: How to reset the printing system - Apple Support
(And "not working" doesn't help us to help you - please give more detail next time) -
I just tried updating my iPhone 5 to the new iOS7 and it keeps saying the activation server can not be reached...My phone has been down for almost an hour now. Can anyone help? thank you
Too many people are flooding Apple's servers, everyone is having this issue, try every so often, or wait until tomorrow.
-
I changed my email address on my apple account. My computer is okay for itunes, but my iphone continues to use the old email address so I cannot log on to itunes store or update apps, etc. Can anyone help? Thanks!
Have you changed the details in Settings, Store? Check that, then restart the phone (hold Home and Sleep until the Apple logo appears)
-
Just downloaded Illustrator CC 2014 and none of the new features are showing up. Can anyone help? Thanks! I really need to figure it out so I can start using the awesome new features for Illustrator.
in creative cloud does it show as up to date? if not "Update illustrator"
if it does I would think about uninstalling illustrator and re-installing.
option for that is to the left of the up to date green tick.
Maybe you are looking for
-
All files except HDD icons disappered from desktop
I am using Lion. Suddenly, all of the files and folders from my desktop disappered. I have tried to reset desktop and finder preferences by deleting plist files from Library/preferences but no success. Any idea?
-
Between operator for group by date in Apex Interactive Reports
Hi, In the interactive reports filter, i couldn't find the 'between' operator for date field (got a 'group by date' in my sql query (source). I am just wondering, Is it beacuse of the group by date clause?. Is there any way to show the 'between' oper
-
Lync 2013 stopped working after update
Lync starts up fine, but when I click a contact or receive a message, Lync crashes I already updated and repaired office. I do have office 2010 and 2013 installed, but 2010 doesn't have Lync so there shouldn't be a conflict there. Event logs: Log Nam
-
Hi experts following is the scenario operation system Linux database 11G We have database in EU and users are connected to it via India. we are facing severe connectivity and performance for sending data or processing data possible solution would be
-
Help with converting FLAC to ALAC while retaining metadata and cover art
Hi, I've decided to embark on the long trek to convert my 18k+ FLAC music library into ALAC. I've decided on ALAC for mainly 2 reasons: iTunes/iPhone/iMac/Sonos compatibility and my desire to keep with a lossless format. My library is pretty eclectic