Old pictures from cache? mabey?

Hi,
I am developing a webshop. When I add an item to the site it works. After that I add another item right away. I see the same pictures in the itemoverview page.
I use three jsp pages
- placeitem.jsp
- placeitemoverview.jsp
- placeitemsuccess.jsp
The first jsp has all the form fields including some input type="file" fields for uploading pictures.
When the user submits the form to the servlet, the servlet saves the pictures on the computer in a preview directory and forwards to the placeitemoverview.jsp page. Here the user can check if everything he filled in, looks good. After that the user pushes the button to place the item.
The item is saved in the database, the preview folder is emptied and the user is forwarded to the placeitemsuccess.jsp page.
So far so good.
When I add another item to the system with totally different pictures, sometimes I see the pictures from the former item in the placeitemoverview.jsp page. Thats weird because the pictures from the preview directory from the former item are not present in the preview directory. The correct pictures I just selected are.
Has this anything to do with caching on the browser side?
Any help would be nice

You can disable client caching by adding the following lines to the HTML HEAD element:
<meta http-equiv="cache-control" content="max-age=0, must-revalidate, no-cache, no-store, private">
<meta http-equiv="expires" content="-1">
<meta http-equiv="pragma" content="no-cache">

Similar Messages

  • CAN I RESTORE OLD PICTURES FROM ICLOUD

    CAN I RESTORE OLD PICTURES FROM ICLOUD ?
    I had to change my iphone and i did not synchronize it since may 2013. I recover some pictures ( 30 days backup only )
    Is it possible to recover exceptionnaly older pictures from may 2013 ?
    Is there a way to have an acces to this old pictures ?

    Unfortunately not.

  • I have just bought an Ipad. How do I transfer my old pictures from my Iphone to my Ipad?

    I have just bought an Ipad. How do I transfer my old pictures from my Iphone to my Ipad?

    Connect the iphone to your computer using a USB cable, sync pics to it (on a mac, use iphoto to sync to), then sync from computer to new ipad.

  • Can I get old pictures from my iPhone 4? It was destroyed

    My little brother totally smashed my iPhone 4. It had been backed up on my laptop, but my laptop crashed and reset itself. Is there anyway I can get my old pictures?

    Sorry but no.

  • Can i transfer my old pictures from my old apple id to my new apple id?

    hi, i recently made a new apple id because my old one i forgot the security questions to, and i contacted apple and they said the best thing to do was make a new id. well stupidly i forgot to back everything up onto the pre made account, and i lost 3,000 pictures. is there a way to access them without screwing with my new account? (loosing all new pics, apps ,ect)

    Photos are not associated with any Apple ID.
    Where are the photos now?
    Photos
    - If they are in an iPod backup then restore from that backup. See the restore topic of:
    iOS: How to back up
    - If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer
    Import into computer
    iOS: Importing personal photos and videos from iOS devices to your computer

  • Is it possible to get my old pictures from iCloud on my PC?

    I lost my iPhone, and i had nearly 2000 pictures on it, but it was all backed up to iCloud, and i wanna know if its possible to get them back but on my PC? any help would be appreciated thank you

    Many users have lost photos while preforming a restore from backup or upgrading the iOS.   Recall, only photos in the camera roll are backed up to iCloud.  There is a way to turn backups for camera roll on/off, perhaps these users had camera roll turned off.
    See:
    Settings>icloud>Storage & Backups>Manage Storage,  tap the device's name and on the next screen, be sure Camera Roll is turned on.
    If the backup is on iCloud, then you can't get the pictures back directly to your PC, it most go back to your iphone, after which you can sync them to the PC.
    IMPORTANT...
    Photos should be regularly synced to a computer (like you store photos from a digital camera) using either USB via iTunes (on a mac use iPhoto or Aperture to move them to an album) or using photo stream.  If you have been doing that, then you can sync those photos back to your device.
    If you haven't been saving photos except relying on iCloud to store them in a backup, then that is risky, as many users have discovered.  I'm afraid I have no advice in this case - there is no "cure".

  • My moments won't let me see my old picture from the summer like in August. Why is that? Where did my pictures go? It only shows picture from December.

    Its about my photo.

    I have decided to dedicate this thread to the wonderful errors of Lion OSX. Each time I find a huge problem with Lion I will make note of it here.
    Today I discovered a new treasure of doggie poop in Lion. No Save As......
    I repeat. No Save As. In text editor I couldn't save the file with a new extension. I finally accomplished this oh so majorly difficult task (because we all know how difficult it should be to save a file with a new extension) by pressing duplicate and then saving a copy of the file with a new extension. Yet then I had to delete the first copy and send it to trash. And of course then I have to secure empty trash because if I have to do this the rest of my mac's life I will be taking up a quarter of percentage of space with duplicate files. So this is the real reason they got rid of Save As: so that it would garble up some extra GB on the ole hard disk.
    So about 20 minutes of my time were wasted while doing my homework and studying for an exam because I had to look up "how to save a file with a new extension in  mac Lion" and then wasted time sitting here and ranting on this forum until someone over at Apple wakes up from their OSX-coma.
    are you freaking kidding me Apple? I mean REALLY?!!!! who the heck designed this?!!! I want to know. I want his or her name and I want to sit down with them and have a long chat. and then I'd probably splash cold water on their face to wake them up.
    I am starting to believe that Apple is Satan.

  • Hello community...i would like to copy my old pictures from my iphone 4 to my new iphone 5s in the correct order...some pictures are correct but others aren't..i am not sure what i should do..can you help me?

    The question is below..

    I am syncing my iphone to my iTunes account and then I do a backup and also making sure all updates are current.  Then by going to the my phone and then going to the right and selecting the restore my iphone.
    Here is a picture of what I get

  • Is there something that auto reinstalls old packages from cache?

    You pacman -Syu and something broke - you dont have time to figure out what. All you know is that 20 minutes ago your configuration worked and that you have not pacman -Sc yet. You can figure out later what went wrong, right now you just want a worked system.
    Is there something that already that scans the cache and at least lists the packages that are in the cache that are not installed? So that you can quickly just pacman -S $(them) ???

    one-liners ftw!
    pacman -Q | while read name vers; do LC_ALL=C; find /var/cache/pacman/pkg -name $name* | grep -v $vers | sort -r | head -n1; done
    lists highest version of all installed packages found in your cache not including the installed version.  good luck managing that output
    /edit: the better approach would be to tail /var/log/pacman.log and reverse whatever the -Syu just did using the pacman -U command mentioned before.
    /edit2: at eldragon below: useless use of cat is useless
    Last edited by brisbin33 (2009-07-17 21:13:58)

  • Iphoto 08 cannot see pictures from this past year in events?

    Hi!
    I have been using iphoto 08 pretty successfully this past year, getting used to not being able to access the files directly, uploading on to snapfish, and accessing my photo library on the external hard drive.
    well, tonight I was trying to post a picture on to facebook, was browing old pictures from 2004. after not finding what I was looking for, i scrolled back down to pictures I uploaded just last night and voila........the last event folder is dated December 2007
    What happened? I see them when looking through my finder (i have leopard) and I see the file path but I do not see them in iphoto 08.
    please help, I must have uploaded thousands of pictures in the past year........

    Sounds like a damaged database file:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • Can't delete old pictures

    Is anyone have the same problem: I used iPhoto since a while.
    I upgrade to iPhoto 09 last month.
    Today, I am organizing my pics and I am unable to delete pictures !
    I can delete fresh pictures (I mean picture I just uploade from my camera)
    I can't delete old picture from 2-3 month...?
    I delete and the spinning icon (for waiting) kepps on turning and the iPhoto freeze...
    This problem occurs when I try to delete one our a group of picture.
    I changed nothing in the parameters.
    I haven't lock any file.

    I am having the same problem, having recently switched from 08 to 09. I can't delete photos as the machine hangs up and shows me the dreaded beach ball and (not responding) message - I have tried different ways to delete and different numbers of photos, hoping one my be the source of my problem. I have rebuilt my libraries - all things that I see being recommended on this site.
    It has hung up on me numerous times while trying to perform other tasks as well, such as batch changes or changes to dates and times, cut and pasting between events and related type tasks. Apple is getting a ton of messages from Force Quit. Any other suggestions? The only thing I haven't done is try to re-install. Getting pretty frustrating.

  • Confused about tags on old pictures

    I imported some old pictures & it tells me that there are tags on them & asks if I wish to import them with the tags.  I say yes & they are imported.  I don't see any tags.  Was I being asked about some generic tag that I can't see or is there some way to see the tags that I'm unaware of?  Is ther some way to display this tag information in PSE 7?  Are these tags if different usable in PSE just like those created by PSE?

    I think that I now know just what the problems that I have been having are coming from.  I have a new PC with Windows 7 64 bit.  Prior to getting this machine I made a backup to an external hard drive.  I now have PSE 7 installed & working OK.
    My mistake was that I was trying to import my old pictures from holders on the external drive rather than trying to restore my catalogs from the back up.  Windows 7 is now aware of where my picture are but they are physically located on an external drive when they should be on my new machines "C'' drive rather than being stored externally.
    I thinks that the reason that I has getting the Tags meta data displayed under imported tags rather than having my original tag structure being restored.  Is this a correct assumption?  If This is correct do I fix things by doing the following or is there a better way?
    Select all picture & tellthe program  to delete from catalog but not from hard drive.  Then tell the program to restore my
    catalog from the external drive.  Once this has been done & confirming that indeed the tag file structure has been restored I then select all picture in the catalogue & move them all from the external drive to the correct location.
    Thanks in advance

  • I have a 3g iphone and I need to know how to delete old photos from my phone!! I need the space but there is no way to delete the pictures!! Help!!!

    I have a 3g iPhone and I need to know how to delete old photos. Need to free up space and there is no clear way to delete these photos!! Can someone please let me know how to get rid of these pictures!!!! Help!!!

    There are a number of ways to delete pictures from the Camera Roll.  One is to open Camera Roll in the thumbnail view, tap the arrow button (top right), tap all the pictures you want to delete, tap the Delete button ant the bottom.  Photo Library pictures are deleted by unchecking Sync Photos on the Photos tab of your iTunes sync settings, followed by syncing your phone.

  • I backed up my new iphone and only got the pictures from the old phone i lost the ones on the new one. is there a way to get them back ?

    i have an old iphone and than i got a new one but never backed the new one up because i was waiting for a computer charger i just got the charger today i backed the old phone up than the new one i transfered the pictures from the old one to the new one with no problem but lost any pictures i had on the new one can i get them back

    It sounds like you restored the backup of your old phone to your new phone.
    Unless you backed up the new phone first or manually copied the pictures off prior to restoring the backup, the pictures are gone.

  • How do I move pictures from old iphone to new iphone

    How do I move pictures from old iphone to new iphone

    If you want to transfer your camera roll photos, along with text messages and other data and settings from your old phone to your new one, back up the old phone then restore the backup to your new one (see http://support.apple.com/kb/ht2109).  If you only want to transfer the photos, import them from your old phone to your computer as explained here: http://support.apple.com/kb/HT4083, then put them in a folder and sync them to your new phone by selecting the folder on the Photos tab of your iTunes sync settings and syncing.  (Be aware that photos synced to your phone using iTunes can only be deleted later by syncing them off again.  They can't be deleted directly on the phone.)

Maybe you are looking for

  • How to determine the protocol to use in Sender mail Adapter ?

    Hi All Can i use my Microsoft Exhange Server address while configuring Sender Mail Adapter .? If yes , then which protocol i can use out of IMAP and POP ?.. How do i determine which protocol i should use to connect to my exchange server ? Thanks roha

  • Megge column when export to excel

    User is requesting Excel column header to split for infoobjects that are displaying key & text. See attachment showing the column header splitting. (Currently all key & text headers merge when exported into Excel apart from last object in row.

  • Billing and SO Report

    Is there any standard SAP SO/ Billing report  show  by Material with Tax Code in there? Points will be reward

  • Help! need info re. digital color bar invasion!

    Hi all, I hope this is the correct forum for this problem. If not tell me where I need to be to get info re. not being able to get rid of a rash of color bars that are appearing on my video camera monitor when I play back the footage I shot today. It

  • J2EE Host for the SLD can't send data to itself

    I am trying to setup a SLD on our ABAP+J2EE Add-in WebAS 640 SP10 system.  The SLD is setup fine.  I can import information from all of my ABAP systems via RZ70 with no problems.  I setup the data send from the J2EE side via the Visual Admin.  All my