File Upload: no error but don't work. Why?

Hi all,
i'm an application with a jsp for upload a file.
I have the following code in my Action (extention of the DataForwardAction):
// UploadForm extends org.apache.struts.action.ActionForm
UploadForm uf = (UploadForm) ctx.getActionForm(); // ctx is DataActionContext
FormFile ff = (FormFile) uf.getMyFile();
log.warn("[onLoad] - ff: " + ff);
but in the log file i found:
2007-01-18 10:31:33,564 - ERROR (UploadFilePricesViewAction.java:194) - [onLoad] - ff:null
No errors and not file uploaded.
Anyone think a reason why this happen?
Can you help me?
I use ADF/Struts (no faces) with JDev 10.1.2 and Application Server 10.1.2.1
Thanks a lot for any suggestion.
Alessandro

repost
Please is very important
Thanks

Similar Messages

  • I can't open video file in the page , i download and install flash many time but don't work , i use firefox 5 and windows 7

    i can't open video file in the page , i download and install flash many time but don't work , i use Firefox 5 and windows 7

    My current version of Chrome is having problems, too! It's so annoying. Anyone have any suggestions now? I basically can't view or download any PDFs because of this.
    Does anyone else think this is a problem not only with Adobe? I would think Apple would have something to do with this? Wouldn't they get some idea from the developer versions that no browser can open PDFs while running Lion!? Pretty bad customer service on the part of a company that prides itself on being VERY customer-friendly. Wouldn't you say?

  • Forcing program to close, I am deleting a lot of files from my trash but it stopped working about 1/2 way through (1650 files left) so I tried to reboot but it won't let me because a the program is still running which I can't close.

    Forcing program to close, I am deleting a lot of files from my trash but it stopped working about 1/2 way through (1650 files left) so I tried to reboot but it won't let me because a the program is still running which I can't close (stuck at 1650 files to go). So it allowed me to click cancel now it says "stopping" for 3hrs now. Is there anyway to force the MacBook Air (new model) to close as you can't remove the battery?

    Press and hold the power button until the Mac turns itself off. This force-shutdown should be done only after you've exhausted other options (you seem to have done so).
    Wait at least 60 seconds.
    Then press the power button to start up the Mac. It will take a little longer to start up because it will perform additional self-tests on the first boot after a forced shutdown.
    Once the bootup is complete, you should be able to delete the trash. Hold down the option key while choosing to empty the trash, which will automatically delete "locked" items.

  • Opening a new file in photoshopcc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    opening a new file in photoshop cc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    Graphics card is the problem.
    Trying to update drivers now.
    Thanks for your help
    john

  • TS3002 My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    I was able to get it to work!

  • I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive it nothing happens.

    I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive touch it nothing happens.

    Thank you for that update.
    I would next backup your device to iTunes with this article:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    And restore it first as a new device, and verify that it works properly, then restore from your backup with the same article below to ensure that it is still working.
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    If it does not work correctly when you set up the phone as a new device, I would next seek service for your iPad:
    http://www.apple.com/support/ipad/repair/other/
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Error: SAP NW 7.01 ABAP Trial Version: install successfully but don't work

    Hi all,
    i'm newbie.
    i haved SAP NetWeaver 7.01 ABAP Trial Version on my notebook (Thinkpad X61 - Windows XP Pro) installed.
    I have made as follows:
    1- install MS Loopback Adapter
    2- add in windows/system32/drivers/etc/hosts: 10.10.0.10 <machine name>
    3- install SAP NetWeaver 7.01
    There aren't any error.
    If i start sapmmc, follow the syslog entry: "Communications data: Service initialization failed".
    i can connect with the server on SAP Logon. it does almost everything, also database is ok, i can create a table,... . but i can't program. i made a example programm, this programm is saved, program window does not appear and it does as if it is running, but it really depends. BAPI don't work.
    can someone help me, please ...
    Thanks
    Edited by: thi minh huyen pham on Jan 12, 2009 3:35 PM

    Hello Thi Minh,
    it looks you instaled everything ok. In trial version you can
    construct new structures, but not the tables, as we should
    use the tables of the flight data model.
    Propably your program is also running ok, as some reports are
    supposed only for debugging, and have not any results screen.
    Try other reports.
    Bye,
    Peter

  • File upload java errors...HEEELPPP!

    All was working fine for months, now getting java errors in my ADDT. Mostly related to file uploads, or image uploads. I found that I don't get these errors in older sites that I've worked with, but I've created a new site and started from scratch and I'm still getting them.
    Here are the errors and what I'm doing:
    *I go insert record form wizard (in ADDT)
    *One field is a date, others are text, one is an integer, one is a file field
    That works ok up to here.
    *Then I choose ADDT > File upload. I get the following error immediately: "While executing canApplyserverBehavior in kb_FileUpload.htm, a javascript error occured."
    *I click ok, the wizard box attempts to load and it give me the error: "While executing onLoad in kb_FileUpload.htm, the following javascript errors occured:
    At line 354 of the file "Macintosh HD:Applications:Adobe Dreamweaver CS3:Configuration:Shared:DeveloperToolbox:classes:triggerUtil.js":
    TypeError: hash[transactionColumn[k]].push is not a fuction.
    I'm totally tearing my hair out, not to mention not hitting deadlines with this... can anyone help. I've tried removing the fileCache, rebuilding the site cache, removing and rebuilding the includes folder, removing and reinstalling ADDT. HEEEEEELLLLLPPP.

    Hi
    Please look into this about the destination
    Pathname of directory in which to upload the file. If not an
    absolute path (starting a with a drive letter and a colon, or a
    forward or backward slash), it is relative to the ColdFusion
    temporary directory, which is returned by the GetTempDirectory
    function.

  • Error on File upload. Error processing wwv_flow.accept.

    Hi,
    I'm developing an application to upload and download files using Oracle XE 10g and APEX 3.2.0.00.27 on OS Windows XP.
    The file upload page is very simple: one file browse item, a submit button and a report based on the wwv_flow_files table.... and an extra button to save the uploaded files in the DB.
    Sometimes (almost everytime) when I press the submit button, the wwv_flow.accept process fails and I'm redirected to a page saying Internet Explorer cannot display the webpage.
    I'm forced to refresh the page and then I get the following message:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept.
    I recreated the same page in the apex.oracle.com environment and it works, but it fails in my local environment.
    I have read some posts int his forum, but I haven't found an answer yet.
    Please help!!!
    AUJ

    varad acharya wrote:
    Download the standalone OHS.
    http://www.oracle.com/technology/software/products/database/oracle11g/111060_win32soft.html
    varadSorry about this...old post and off topic.
    Can anyone point me to a standalone version of OHS for linux x86-64? I'm having troubles finding this, it doesn't appear to have installed with 11g Enterprise Edition and I cannot find it in the available packages when I re-run the installer. I'm running 11g EPG now and want to convert to Apache.
    Thanks!!!

  • Bookmarks exist but don't work in PDF (exported from InDesign)

    Hi all,
    I had a similar problem a few months ago where SOME cross-references within a document weren't taking you to the right place when exported to PDF although they appeared to work fine in InDesign (the "source" and "destination" arrows took you to the right place). Someone suggested exporting the file to IDML and importing again, which worked fine.
    Now I'm working on the same document (an update) but it's grown a bit and so each chapter is in its own file within a book. Problem is similar but not the same. Some cross-references work fine in the generated PDF, others are recognised as being links (cursor changes) but NO effect when clicking on them... not taking me to the wrong place, nothing is happening at all. ALSO the table of contents AND the bookmarks don't work.
    I've exported each chapter to IDML, recreated the InDesign files and recreated the book, but still no joy. If all else fails, I'll put the book back into a single file but I'd rather not go through this pain each time I have to update the book (especially as this latest change was really tiny).
    Any suggestions? Are cross-references between files in a book known to be problematic? And if they are, has the problem been addressed for CS5.5? (I'm looking to use InDesign for a journal that will contain a lot of links between elements, but the turnaround time is tight and I'm wary of this issue being a problem each month.)
    Currently using CS5 on Windows 7 Professional, and Acrobat 9 Pro Extended was installed as part of the Tech Comm Suite.
    Thanks in advance,
    Alison

    This is so funny...I was just about to close my email and look up the
    Forums to profusely thank the person who posted the solution to a similar
    problem I was having in CS4.  I'd created numerous hyperlinks in Indesign
    documents and sometimes the links worked in a pdf, and sometimes not.  The
    problem solver was talking about a solution in Word, but I found the same
    type of text in the PDF settings box that pops up when you want to save the
    pdf.  There are all kinds of checkboxes and I'd thought I was doing enough
    by checking 'add hyperlinks'...but the advisor said you have to make sure
    'tagged PDF' is CLEAR.   So the same thing will probably work for you with
    your bookmarks!  (...if the settings are similar in CS5 of course, and
    there's no reason they shouldn't be.  I guess.)
    The only thing is, there's a lot of what we call 'ant work' ahead of me.  I
    have to go back to each InDesign doc and retype the text in the home font,
    and create the hyperlinks over again.  Luckily, the hyperlink destinations
    are still there.  It's not enough just to export the document again with
    the Tagged checkbox cleared, and you can't create a new hyperlink over an
    old one; the 'new hyperlink' option isn't available under Interactive. So
    you may have the same problem.
    Let me know if this works!  I'm off to thank the person...
    Susan

  • In my Macbook Pro finder folder under All Images, there are duplicate files, but one is small and the other is full size. I wanted to clean up the files, but don't know why I have two of everything. Any Ideas?

    In my Macbook Pro, the Finder folder has duplicate images in the 'all images' file. One image is small and the other is full size. First question is why do I have two of every image? Why is one small and the other large. Do I need two of everything? If not, which do I delete?
    thanks, Jean

    Hello fane,
    Re: duplicate images in finder.
    Nearly all images are JPG with a few GIF and PNG sprinkled in.
    I opened the inspector so I do get info when opening each image, but it a slow process.
    It seems that one image is around 70k while its twin can be up to 4Mb which is what comes unedited from my camera. Sometimes there will be 3 or 4 identical images in finder, but when I open iPhoto to see what ‘s really in the file, I find only one image, and it’s full sized.
    Are all these extra images, even if they are aliases, taking up space on my drive? And should I delete them? The info bar says I have over 10,000 images, which is rather a lot  for what I do.
    I am unable to add the file size on the view menu as it is grayed out. Don’t know why it’s gray, but having that info on the screen would save a lot of time and fiddling with each image.
    I am trying to resize selected pix so I can upload them to e-bay, which requires less than 70k. I have looked at resizing programs but most are for PC platform and not Mac, so I am trying to resize in the finder window under tools. Tedious at best. Any suggestions will be appreciated
    Thanks for your help,
    jeanfromwilsonville

  • ISE 1.2 / WLC 5508 EAP-TLS expired certificate error, but wireless still working

    Hi I have a customer that we've deployed ISE 1.2 and WLC 5508s at.  Customer is using EAP-TLS with and everything appears to setup properly.  Users are able to login to the network and authenticate, however, frequently, I'm getting the following error in ISE authentication logs:
    12516 EAP-TLS failed SSL/TLS handshake because of an expired certificate in the client certificates chain
    OpenSSL messages are:
    SSL alert: code=Ox22D=557 : source=local ; type=fatal : message="X509
    certificate ex pi red"'
    4 727850450.3616:error.140890B2: SS L
    rOYbne s: SSL 3_  G ET _CL IE NT  _CE RT IF ICAT E:no ce rtific ate
    relurned: s3_ srvr.c: 272 0
    I'm not sure if this is cosmetic or if this is something that I should be tracking down.  System isn't in full production yet, but every client seems to be working and there is no expired cert in the chain.  Any ideas what to check?

    Hello Dino,
      thanks very much for your reply.
      The client uses a machine-certificate, the PKI is not a microsoft one, but a third party PKI.   The certificate is fresh and valid, the root-cert is installed and checked to be validated against it for the login.
    Clock is correct too. The same setup works flawlessly in Windows 7 and XP.
    EKU is set on the certificate (1.3.6.1.5.5.7.3.2)
    I suspect the cert-setup itself, but don't get a clue where this might stuck...
    Björn

  • Flat file upload with error

    Dear all,
    We are using BI7.00 and in one of our data load, which is running automatically, the flat file will be generated in the common location and then load takes place automatically based on event.
    My problem is in one of our file, the field named "customer location" has a long address seperated with commas like for example "Chakan-Talegaon,Mahaalunge,CHAKAN,P," -> this value should be accomadated in one field only but since the seperator is "," system assumes it as seperate field and pushes the other value to the next field. The next field is a qty field and hence when this character is moved to the qty field , data load fails due to mismatch.
    My requirement is since it is automatic generation of the file and load is also automatically carried out, manual change to the file cannot be carried out.Is there any way of making system understand that for this particular field if the value is with commas seperated between values, system should not consider it as seperate field value.
    Expert suggestion required.
    Regards,
    M.M

    Thank you all for the reply.
    Dear Godhuli,
    Thank you for your reply. I tried the same as per your information, i.e., the data seperator as "^" and the escape sign as " . Sorry this doesn't work for me , in the sence , the data load takes place without error but in the PSA all the fields are without values.
    I could not percieve the correction method that has to be adopted to solve my problem. Experts solution is expected.
    Kindly provide help to solve my problem.
    Regards,
    M.M
    Edited by: Magesh Magesh on Apr 27, 2009 6:35 AM

  • File Upload - Internal error?

    Not sure what's going on here - a basic file upload :
    //start Trigger_FileUpload trigger
    //remove this line if you want to edit the code by hand
    function Trigger_FileUpload(&$tNG) {
    $uploadObj = new tNG_FileUpload($tNG);
    $uploadObj->setFormFieldName("ImageMain");
    $uploadObj->setDbFieldName("ImageMain");
    $uploadObj->setFolder("../admin/");
    $uploadObj->setMaxSize(1500);
    $uploadObj->setAllowedExtensions("pdf, txt, jpg, jpeg, gif");
    $uploadObj->setRename("auto");
    return $uploadObj->Execute();
    //end Trigger_FileUpload trigger
    But am getting the error message :
    File upload error. Internal error.
    But I've no idea what it means or how to fix it - any ideas?
    Cheers.

    Thanks Shane - I've just been looking at it this afternoon - it was indeed a permissions issue. I'm sure that one caught me out last time. Unfortunately these sorts of things have to catch me out at least twice before they sink in!

  • File upload no error no file - my solution

    In case someone out there struggles with the no error no file problem with file upload ASP/VB, after days of searching for a solution I finally found out it was an ASP upload max size problem.
    Take a look at this post at the Interakt forum, right at the end of the post is the solution to the max size limit in ASP
    http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXFileUpload/Product-Forum/D etails/62313/File+upload+size.html
    Hope it helps!
    Cecilia

    Thanks Even i found out later this was the culprit.

Maybe you are looking for