t:inputFileUpload does not give file path in mozilla browser?????

Hi all,
I am using <t:inputFileUpload /> for file uploading purpose,
UploadedFile inputFile.getName() method gives entire file path when i use IE,but
the same inputFile.getName() gives just a file name not the complete path when i use
mozilla browser.....
i got to save the entire file path during upload.
Any idea to solve this cross browser problem???
regards,
sundar

That is indeed a flaw in Internet Explorer. Firefox behaves as it should be.
Why do you need the file path? Do you think that you can get the file from the server disk if you construct a File object with a path which is obtained from a client side disk? This is not going to work. Just get the file contents by UploadedFile#getInputStream().
Also see this article: [http://balusc.blogspot.com/2008/02/uploading-files-with-jsf.html].
Edited by: BalusC on 7-aug-2008 11:12

Similar Messages

  • File Name of Image Displayed in PSE 8 does not match File Path Name in Windows 7

    I recently got a new computer  .I upgraded on my Windows XP computer from PSE 5.0 to PSE 8.0.  I then moved my files to the new computer running Windows 7 following the instructions I received on an earlier post.  I copied the catalog folder and the picture folders on the C drive from the old to the new computer (catalog folder to location specified in System Info;  images to My Pictures).   Everything appears to have worked beautifully without having to go through a big Reconnect struggle.  The organzer appears to have found all of the images and I can bring them up in Editor as well.  However, when I look at the properties of a given image the full file name displayed is what it was on XP, i.e., C:\Documents and Settings\<username>\My Documents\My Pictures\<folder name>\<file name> rather than the path as it is in Windows 7, i.e., C:\Users\<user name>\My Pictures\<folder name>\<file name>.  I am new to Windows 7 so maybe I am missing something unique to Windows 7 but I would appreciate any information.

    You're observing the special folder aliases that Vista and Windows 7 create to preserve backward compatibility (Microsoft keeps changing how and where users' documents are stored).   On Windows 7:
    C:\Documents and Settings\<username>\My Documents\My Pictures
    is a special kind of alias to the folder:
    C:\Users\<user name>\Pictures
    (And C:\Users<user name>\My Pictures is yet another kind of Windows 7 special alias, a "library", that includes the folder C:\Users<user name>\Pictures.)
    Whenever an application like PSE refers to the old location, C:\Documents and Settings\<username>\My Documents\My Pictures, Windows automatically translates that under the covers to C:\Users\<user name>\Pictures.   But Windows Explorer is configured to prevent you from accessing C:\Documents and Settings\ interactively -- only programs like PSE are able to do that.  Microsoft wants users of Windows Explorer to always use the "new" name,  C:\Users\<user name>\Pictures.
    In your case, your catalog contained the old XP folder paths, and Windows is automatically translating them on the fly to the new paths, unbeknownst to PSE.
    Like most such backward-compatibility hacks, this does not work perfectly.  PSE thinks that the old path and the new path refer to two completely different folders.  I'm not positive, but I think there are opportunities for PSE to get confused by that.   When you import new photos, they will get recorded in the catalog under the new folder paths.
    In my previous recommendation for how to move to the new computer, I had assumed that you would most likely be changing user names and photo locations, and thus you would be forced to do a Reconnect, and you wouldn't have encountered this.  If I had thought you weren't going to need a Reconnect, I would have recommended not using this method but rather using Backup/Restore (my first recommended method)  -- my bad.
    It may well be that your current catalog and PSE will work well enough.   But there is at least a small risk that down the road PSE will get confused by the old and new folder names.  The easiest way to avoid that risk would be to start over and use the Backup/Restore method for moving your catalog, whch is more effort on your part.  But because I don't fully understand the risk, I can't tell you whether you should be worried about it.   Definitely do some testing: editing, importing and editing new photos, use Display > Folder Location view, try renaming and moving old photos to new folders, try the Photo Downloader, etc.

  • I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview

    I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview shows the contents, I can't open the document (Powerpoint) and I can't move the document. I tried "Copy" and paste but it doesn't work. I tried "Share" with Airdrop and iChat, but the file is inaccessible. When i try to rename the file, it says the filename is too long.
    When I try to open it, it says the alias is not good, and asks if I want to fix the alias. I'm afraid to do that and lose all access to this document.
    Right now, it feels like a ghost document - it is on the computer intact, but it is in an undisclosed location and inaccessible.
    Please help!!

    I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
    I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
    I was afraid of rebooting and possibly losing track even of the ghost.
    I did not try EasyFind - I'll keep that in mind next time.
    Thanks for all the comments.

  • I'm applying for jobs online through my iPad using the safari app. For some reason when I try to attach my resume, which I have saved in Pages, it does not give me an option to go to Pages. It only gives my an option to choose a file from photos. Does it

    I’m applying for jobs online through my iPad using the safari app. For
    some reason when I try to attach my resume, which I have saved in
    Pages, it does not give me an option to go to Pages. It only gives
    my an option to choose a file from photos. Does it not have the
    capability to choose a location other than photos??

    No. Safari does not have the option to attach files for uploading other than photos.
    Look at iCab Mobile in the App Store. There are other browsers that may do this, but I'm pretty sure that iCab will fill the need.
    iCab Mobile (Web Browser) on the App Store on iTunes
    take a look at this.
    http://www.icab-mobile.de/faq.html

  • Adobe Reader XI does not open files with a command line "path" argument.

    Adobe Reader XI does not open files with a command line "path" argument. Version X and lower all worked fine. I have deleted and reinstalled the program with no success. Is this a bug?

    Hi Daniel,
    What is the make of the printer and is it using PCL or PS driver.?
    Do you have Acrobat installed on this machine as well?
    Please check if 'Print Spooler' service is running on the machine.
    Regards,
    Rave

  • How can I export to a .sfw file? it does not give me the option in FILE EXPORT.

    how can I export to a .sfw file? it does not give me the option in FILE > EXPORT. I have Flash installed and everthing.

    The feature to export SWF files directly from After Effects has been removed. It never worked at all well.
    To create SWF files, use Flash Professional.
    If you want to play a movie that you've created in After Effects in a SWF container, then export your composition using Adobe Media Encoder in H.264 format and then link or embed that movie into a SWF file in Flash Professional.

  • How can I make a CC Illustrator file open in CS6? Save as does not give an option to save as a CS6.

    How can I make a CC Illustrator file open in CS6? Save as does not give an option to save as a CS6.

  • Hp officejet pro 8500 a910 does not give me the option of printing in black and white

    Hello,
    My hp officejet pro 8500 a910 does not give me the option of printing in black and white. How do I choose to print in B&W when the option does not show up under properties?
    Thank you.
    This question was solved.
    View Solution.

    Hi,
    From the application being used to print, Click File > Print
    Click Properties or Preferences to access the Printing Preferences Dialog.
    Click the Advanced button at the bottom of the window.
    Under Printer Features, Click the Print as Grayscale selection box and set as High Quality Grayscale or Black Ink Only.
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • My external LaCie drive gets an error message "the disc you inserted was not readable by this computer." The only options offered are "ignore" or "eject" Disk Utility sees the disc but does not give a repair option. What can I do?

    When I plug in my external LaCie drive I get an error message "the disc you inserted was not readable by this computer."
    The only options offered are "ignore" or "eject"
    Disk Utility sees the disc but does not give a repair option.
    What can I do?

    The good thing about mac-centric resellers such as OWC, is they have people on staff that can answer questions without you buying things first. They also have how-to information, and instructions are included in many of their products. I saw a link to watch a DIY video in one of their pages; an example of a RAID (with its own power supply) is shown on their drives page. Also a few in there, with no power supplies, for less money.
    If I were looking to backup and perhaps also have a partition for a system clone, I'd consider something like one of these: http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
    Some ideas on the RAID backup methods appear in google search, some of the pages are ideas and concepts; and the better ones also warn about using RAID for the only backup plan.
    Oh, OWC has live chat. Haven't tried it, nor have I bought anything from them. I have what appears to be two products from them, but have not used either. One is in a box as-new, but has only USB2.0 ports & my Macs needed FW400/800. It has been said their RAM is a good way to upgrade, too. But I can't confirm!
    A 'RAID-ready' unit for backup may be more versatile for just that, but I have not checked into these details. I use single HDDs in powered enclosures, and usually manually make backup clones to FW drives, of bootable OS X systems. Some of the OWC raid-ready use eSATA ports so that may not be viable for a computer without them.
    The unused in-box external drive I have is like the base model in the link above. However mine is USB2.0 (maybe) and won't boot my older Macs due to hardware variance; and my preference would be for FireWire options, these models do offer that. But the one I have does not. Dual 500GB HDDs, and they could be used in tandem as a RAID. That would be a choice set up in software. I'm not sure and not interested enough to read up just now.
    My backup method is not automatic, or a moving backup plan, if I don't get a move-on and make full system clones. I do make copies of photos and documents the manual way, to USB external drives; and occasionally backup to DVD or CD media. And USB flash, that helps to move files between computers without need to use file sharing via wi-fi. {Like Why fly? Walking is better exercise unless one is a bird. Squawk!}
    https://www.google.com/#q=raid+backup+mac
    Depending on the ports in your Mac, you may be able to use other cables to attach between a backup or externally enclosed hard disk drive with multiple partition and bootable clone in one of them. Not sure about the Thunderbolt, and where that is the main port, adapters are required to access other devices, as allowed.
    Anyway, I am going on and on, yet not really saying anything.
    My ideas would not be all that interesting to follow as a backup
    plan when matching available newer hardware to task, but you
    can get some into better ideas if you are not in a rush. Get a
    good setup and then look into more an betterer stuff.
    Good luck & happy computing!

  • Adobe XI when i use signature option i try to use rectangle, it gives option of certificate signature, does not give me webcam or digital signature or any other option to sign

    when i use signature option i try to use rectangle, it gives option of certificate signature, does not give me webcam or digital signature or any other option to sign, have downgraded to Adobe X, no options show. Have upgraded back to XI no change. Free software I am using currently.

    There are two types of signatures in PDF: electronic signatures, which are just images (stamps, text, image) and digital signatures.
    If you want to use electronic signatures in Acrobat XI go to Fill&Sign->Place Signature. If a drag rectangle for the digital signature dialog comes up, you have selected digital signatures and Acrobat/Reader remembered it. Cancel it, go back to Fill&Sign->Place Signature and click a triangle to the left of "Place Signature". Then click on "Changed Saved Signature" and select the electronic signature type you want to use.
    If you want to use digital signatures you can create custom digital signature appearance. Go to Edit->Preferences->Signatures->Creation&Appearance->More. In the "Appearances" section click "New". You will be presented with the dialog that allows you to create a custom appearance. If you want to put there your picture or image of your ink signature, you need to prepare this image as a file beforehand, select "Image" radio button, browse to the location of your image file. In Reader you can use only PDF as your image file. In Acrobat you can use many more file formats: JPEG, PNG, etc.

  • [svn:bz-trunk] 17920: Fix for WebLogic: WebLogic does not provide File IO on the deployed artifacts hence using getResourceAsStream .

    Revision: 17920
    Revision: 17920
    Author:   [email protected]
    Date:     2010-09-29 05:56:06 -0700 (Wed, 29 Sep 2010)
    Log Message:
    Fix for WebLogic: WebLogic does not provide File IO on the deployed artifacts hence using getResourceAsStream.
    Modified Paths:
        blazeds/trunk/apps/samples/WEB-INF/src/flex/samples/marketdata/Portfolio.java

    check the server log;
    /app/oracle/product/fwm11g/user_projects/domains/fwm_domain/servers/AdminServer/logs/AdminServer.log
    you can launch the console and see if it is running; http://<server>:<port>/console

  • Photoshop does not open files sent from LR

    Photoshop CS6 Extended does not open files sent from Lightroom. 4.4 on Win 7. What is wrong? PS starts but instead in LR the error "Could not open Photoshop appears.

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • HT1212 My iPad locked after 1 incorrect passcode entry and I tried what a senior advisor told my to do, but it could not download the info unless I entered the correct pass code, which I can not do since it does not give me the opportunity.

    My iPad locked after 1 incorrect passcode entry and I tried what a senior advisor told my to do, but it could not download the info unless I entered the correct pass code, which I can not do since it does not give me the opportunity.  How do I get the window to enter my pass code?

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • When I connect my iPad with usb to my mac the iPad gives me a "blinking" message asking to trust the computer.  Problem is it does not give me enough time to select yes.  What am I doing wrong?  Help!

    When I connect my iPad with usb to my mac the iPad gives me a "blinking" message asking to trust the computer.  Problem is it does not give me enough time to select yes.  What am I doing wrong?  Help!

    Everything that you sync to the iPad is done through iTunes or from downloading from the cloud if they are iTunes purchases or through iTunes Match, if subscribed.
    It is also not possible to transfer music or certain other files though Bluetooth between other iPhones or Android devices. You can transfer between iOS devices, pictures through devices that are Airdrop capable.

  • IPod shuffle does not play files 100 MB

    Could anyone help me out with the following issue please:
    After uploading a large mp3 file (>100MB) onto my iPod shuffle (2nd generation, 1GB) - uploading does not give any error messages - the song just does not play when I disconnect my iPod and hit the play button. It automatically continues to the next file in my playlist which is smaller than 100 MB. I reconnected the iPod to my computer and iTunes, and the file is still in the iPod playlist and can be played in iTunes without any problems.
    If I upload a file with a size just smaller than 100 MB (I tried 95 MB) I do not experience the problem mentioned above, it will just play the file normally.
    Is this a limitation of the iPod shuffle or is something wrong with my iPod shuffle?
    Thanks for your help!
    Erwin

    It's probably no consolation, but I routinely play audiobooks >100MB on my 2nd Gen shuffle.

Maybe you are looking for

  • Moved drive to USB Port on Time Capsule and TM no longer sees backups

    I moved my FireWire attached HD from a direct attachment to my Mac Pro to attached via the USB port on my Time Capsule. Time Machine now wants to start over, and does not see the previous backups. The destination drive name did not change, other than

  • WiFi NOT working. Please Help

    I bought my ipod touch days ago. Since then i´ve been trying to use the wifi at home and at public places. It connects to the network but when using safari it says: cannot open .... because the server could not be found. Now, a lot of people have bee

  • CannotProceedException when SessionBean looks up EntityBean

    I have a SessionBean that looks up an EntityBean. When the SessionBean makes this call jndiContext.lookup(java:comp/env/ejb/EventsLocalHome); it throws this Exception: javax.naming.CannotProceedException; remaining name 'EventsLocalHome' Both the Ses

  • Opening .psd file automatically creates a copy of that file on the desktop.

    The file doesn't open in Photoshop by default. Instead, it copies the file. The only way I can open the file in Photoshop is if I right-click the file and choose "Open With" – Photoshop for it to actually open in the program. This is a very weird occ

  • 8820 freezed - Uncaught exception

    Hi, I got a 8820 yesterday that's not new, it's my father's old phone. When he used it he had no problem with it. I updated the software from 4.2.2 to 4.5 this morning so my 8go SD card could be recognized. It worked well then until I tried to connec