Upload a file in JSF 1.2 other than myfaces

Hi,
Somebody knows how to upload a file in JSF1.2 without using the myfaces libraries.
Thanks in advance,
Pieter

Well, if you would like to use some other component library, I can
suggest the JSF RI sandbox [1] or Woodstock [2] - both have upload components.
[1] https://javaserverfaces.dev.java.net
[2] https://woodstock.dev.java.net

Similar Messages

  • I need to upload my files from one directory into other directory.

    i need to upload my files from one directory into other directory.( all its contents,folders,sub folders, files etc)
    for this task
    suppose my source folder is C:/test/test1/test2/test3
    and my destination is D:/
    first i have to check whether my dest dirctory already contains source directory..and its files
    if it contains the same structure then i have to replace the destination dir structure to source dir structure( to upadte changes)
    if it(dest dir) not contains source dir ..means it doesn't contain source folder then
    i have to create same source folder directory structure ( test.test1/test2/test3...) at destination(D:/) and copy all its contents frm source directory...
    ( means i don;t want to create manually same dir structure as source at destnation dir to copy all contents)

    I believe you need to read up on the class File.java (it comes with java).
    Some examples:
    File file = new File("C:/myDirectory");
    if(file.isDirectory())
    System.out.println("this is a directory");
    if(file.isFile())
    System.out.println("this is a file").
    You will then need to read up on other classes to read/write to the file such as FileReader and FileWriter.

  • Uploading data file with specific encoding and other metadata

    Hello everyone.
    I've been recently testing Microsoft Codename "Data Hub". When select the option to upload a CSV or XLSX file to populate my database, it basically has two problems, in my opinion:
    1. It would be great if I could select the file's encoding. If my file is in Spanish, it won't properly load latin characters (e.g. accents, or special characters). The information ends up showing with a bunch of weird characters.
    2. It also doesn't let me select which character to use as data separator. It uses the comma as the default. Some of the data might contain commas, so I usually change the separator to a pipe in my CSV files.
    Does anybody know any workarounds?
    Thanks.

    Hey there, and apologies.  I wanted to reach out and see if this is still a problem for you.
    I also wanted to check if this is a question about Azure SQL Database or something else?
    Thanks Guy

  • Can easily drag/upload Premier files into AE. The other way? No...

    Looks like a pretty standard image that show up, when Premier don't understand the effects applied from AE.
    Tried to search for answers, but did not succeed. How do I deal with this?
    Thanks

    How do I deal with this?
    Your description of the problem is a tad sketchy...
    FAQ: What information should I provide
    when asking a question on this forum?
    http://forums.adobe.com/thread/961741?tstart=0
    FAQ: How do I learn Premiere Pro?
    http://forums.adobe.com/thread/878529?tstart=0
    Premiere Pro CS5-CS6 Reference
    (.pdf 12 MB download)
    http://helpx.adobe.com/pdf/premiere_pro_reference.pdf
    Adobe Premiere Pro Help and tutorials
    http://helpx.adobe.com/premiere-pro/topics.html
    Getting Started with Premiere Pro CS6
    http://www.video2brain.com/en/getting-started-with-premiere-pro

  • How do i make my media files read from a file stored on a drive other than C:\

    So i use itunes on my computer at work for music all my music is stored on a external hard drive, i have a roaming profile on my account at work but when i add music to myh itunes it won't let me use my roaming profile, i know it allows me to change the file location it sales to but when i do this it always makes the file be in the default c:\ drive when i want it in another location any ideas how i can make this go where i want it too?

    Not quite sure what your current state of play is but my post on how to make a split library portable might help.
    tt2

  • The offset in the file is too big"? Other than, hey it's FAT formatted, etcetera!

    Does anyone have an answer for "The offset in the file is too big" error while creating a file using QT API "writeToFile"?
    I mean something other it's FAT formatted, not enough space, et cetera. Anyone?

    First how much free space do you have on your boot drive.  For normal use it's recommended to have a minimum of 10 GB free space.  If you use iDVD up that to 20-25 GB.  Lots of cache and swap space is needed.
    Create the slideshow in iPhoto, set the disiplay size ratio to 4:3 and export it out of iPhoto at the medium or large size. 
    Open a new project in iDVD and add the QT file to the iDVD menu being careful to avoid any dropzones.
    With a 90 minute slideshow you can use a single layer DVD disk. iDVD doesn't care about the file size of the media added to a project, only the playing time of the project, including menus.
    Follow this workflow to help ensure the best quality final product:
    Once you have the project as you want it save it as a disk image via the  File ➙ Save as Disk Image  menu option.  This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image and launch DVD Player and play it.  If it plays OK with DVD Player the encoding was good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    You shouldn't try to create the slideshow in iDVD with still photos if the number of still photos is larger than 99.  That creates a pause or stall when playing back on many set top players. 
              OT

  • Alternative way to transfer file from pc to iphone other than using itunes

    i need an alternative way to transfer vedios, pictures, and docs from pc to iphone

    You could try Bluetooth on both.

  • T-code to upload mutliple files into SAP directories ?

    Hi,
    Is there any other transaction to upload multiple files into SAP directories ( ALL11) other than CG3Z ? Any other procedures at the operating system level ? Please advise.
    Regards
    Shiva

    I dont think so. But you can :
    -- Ask your developer to create a BDC for this transaction to upload multiple files.
    -- Use LSMW to record this transaction to upload multiple files.
    Regards,
    Jazz

  • Multiple languges used while uploading a file using java appn

    Hi everybody,
    i have a problem with multiple languages , let me clear you the question, i were developing a java application using spring ,hibernate frame works, so i got a problem while uploading a file with chinees language or other
    it was saving with different format other than chiness in the database, can any one help me out ... i need the exact language when i upload the files
    thank you very much

    Santhosh_25 wrote:
    actually i have asked the users for the languages... they told some languages like chinees,japanese,german,french,koriean,spanish,italian,dutch,russsian,englishThat isn't deterministic.
    Again, this is pointless unless it is deterministic.
    But lets say that each language group only uses a single character set.
    And each language group stores their files in a specific directory (or server).
    That allows you to deterministically identify the character set of the file.
    So you can then read each file by using a text reader from the java.io package with the correct encoding set.
    This works because it is determinstic.
    The following will NOT work.
    You have a directory with a bunch of files with completely random content in different languages. There is NO way to write a program that will correctly handle those.
    So, again, the first step before doing anything in java is figuring out how you will differentiate the different files.

  • Uploading bank statement with formatt other than MT940

    Hello Experts,
    I have a requirement that I need to upload bank statement directly into SAP.
    I have almost 30 banks configured but problem is not all of them gives MT940 format and if I am going for multicash format then my client does not want to create any excel file himself and then upload that.
    Some banks refuse to give statements in MT940 format as they does not support that format.
    The statements which bank gives are in PDF or text format.
    So, Is it possible to upload bank statement directly if format is other than MT940?
    Is there any other format I should demand from Banks?
    Do I need to develop Z report for this functionality, If yes, Then please guide?

    Hi
    There are some country specific standard program for converting the bank statement in Multicash format. It might be useful for you,
    RFEBBE00                       CODA - Convert Belgium Bank Statement to Multicash Format
    RFEBBE00_NACC            CODA - Convert Belgium Bank Statement to Multicash Format
    RFEBCH00                       Convert Bank Statement to MultiCash Format (Switzerland)
    RFEBCZ00                       Convert Czech Formats to MultiCash Format
    RFEBDK00                       Convert Bank Statement to Multicash Format (Denmark)
    RFEBESCSB00                    Bank statement Spain - conversion to MultiCash format
    RFEBFI00                       Bank Statement: Finland Reference Payments - Convert to Multicash
    RFEBFI00_NACC                  Bank Statement: Finland Reference Payments - Convert to Multicash
    RFEBFILUM00                    Bank Statement Finland - Conversion to Multicash Format
    RFEBIT00                       Bank Statement:Italy CBI - Convert to Multicash
    RFEBNO00                       Convert Norwegian Bank Statement to MultiCash Format
    RFEBNORDIC                     Read EDIFACT Files/Convert into MultiCash Format (Norway)
    Thanks
    Nikhil

  • Iweb upload to host other than apple

    Is this possible? Can I change the settings inside of iweb so that it will upload the site to a different host, other than apple. I'm a dreamweaver user and I have to help out a number of people and they all just got new macbooks. Since it has iweb already, it would be great to use it, but we didn't get the mac accounts. The office did open an independent site with a generic hosting service.
    One person says that we can upload the site to the our purchased host through FTP. Sure, but everyone is COMPLETELY computer illiterate. So that isn't a solution. We need something they can just press and it will work. Can I configure iweb to do this. This is a Yes or NO question. I just need to know. I can do the legwork myself, but before I get started down that road, I need to know that there is light at the end of the tunnel. Otherwise it's dreamweaver.
    Thank you. Whoever you are that has the answer.

    Whatever happened to helping people to learn or teaching, or has this art suddenly disappeared? I am sure that most people were computer illiterate as you put it before we got our hands on one and were taught or helped to learn how to use it. I know I was. I remember about 16 years ago now, when I was at university, I needed a computer, so I purchased an Amstrad. It was a black and white monitor and had no hard drive, so all work needed to be saved on a floppy disc. This saw me through uni and I then decided to buy my first proper computer which was a Viglen PC. This had an internet connection and I learned how to use this by fiddling myself and reading books and with help from others.
    It was not long after this that Apple bought out the first iMacs - the Tangerine iMacs that were 500 Mghz. I bought one of these for my parents as they wanted something simple to use without all the leads and connections that PC's had. I set it up for them and used it myself and was so impressed with it, that I went out and bought one for myself and have never looked back. It ran OS 8, which was quite unstable and kept crashing and freezing all the time. I learned how to use this myself.
    Since then, I have graduated to the latest Macs and the latest software, but they are easy to use even for the computer illiterate. Even the computer illiterate can learn if they are taught.
    I totally agree with what Roddy has said. How hard can it really be to publish to a folder - this can be done from within iWeb itself, by selecting the Publish to MMe or a folder option? If someone were to set up an ftp client such as Cyberduck for people to use and have all the info needed entered into it, then all they need do is click on upload and select first the site folder and then the index file. Is this really going to be so hard?
    Do you really think that using Dreamweaver is going to be easier than using iWeb? If these people are not even able to click on publish to a folder and then upload using Cyberduck themselves, then do you really think that they will be able to use Dreamweaver any better? Dream on then if you think this!!

  • How do I assign a file to a drive other than the drive that contains my program software?

    I've just installed a video editing program on my new Mac Pro Xeon 64 bit workstation. I want to ensure that all my media files reside on a drive other than the drive that contains programs. I had no problem doing this on my old Dell. How do I do this on my Mac Pro? -- Gary

    Application Preferences.
    Next time, 'what' program would also help.
    Most people do setup with a dedicated boot drive with OS and apps, .then use other drives or array(s) for media, scratch as needed, including external hardware RAID.

  • JSP file extension: other than .jsp

    Is it possible with Tomcat to have a JSP file with an extension any other than .jsp? If it is what should I do to make it possible?
    Please point me to the right direction.
    Cheers,
    Alexei

    In the default web.xml the.jsp extension is mapped to the jsp servlet. You can override this or add your own mapping:
      <!-- The mapping for the JSP servlet -->
      <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
      </servlet-mapping>Change the url-pattern to what you want and add to the web app's web.xml.

  • Elements overlaid Photoshop default file types -- Easy way to correct other than reinstalling?

    Hi. So I could teach others, I installed PhotoShop Elements. I use PhotoShop CS5 normally. Unfortunately, Elements became the default for a number of file types, e.g. brushes when installing new ones. Is there an easy way to reset the appropriate internal file types back to Photoshop other than reinstalling it or figuring out which ones only apply to Elements and then changing them in the Control Panel by hand?  Using Windows 7.

    Not an easy way, but also not a hard one. Either use Windows file type management panel in the control panel or right-click a file, select "Open with....", then select Photoshop and make sure the check mark is set for "Always open...". Do this for all file type you regularly use in PS.

  • Javadoc with suffixes other than .java

    Is it possible to use Javadoc on files that have an extension other than .java? I would like to be able to run it on my Weblogic Page Flows (.jpf)
    Thanks
    Kevin

    Well I fixed my own problem :)
    I wrote some perl to
    - run through my source directories
    - copy the .jpf files to .java
    - run javadoc
    - clean up temporary .java files
    If you're interested in the script, send me an email [email protected]

Maybe you are looking for