Results 1 to 2 of 2
  1. #1
    midani is offline Member
    Join Date
    Apr 2012
    Location
    Indianapolis, Indiana
    Posts
    2
    Rep Power
    0

    Default Trouble with Video Upload Function

    Hello I have a java servlet with the following code:

    // handle uploaded Video Files (local and Server)
    h.setOSVideoPath(multi.getParameter("hidOS_FILE")) ;



    Then the .xml says this:

    <tr>
    <td/>
    <td align="right">Our Services File:</td>
    <td>
    <span id="spOS_FILE"><input type="file" name="OS_FILE" id="OS_FILE" onchange="javascript:hidOS_FILE.value = this.value;"> Browse to video file or type URL
    <xsl:attribute name="value">
    <xsl:value-of select="EditFuneralHome/HOME_OUR_COMMITMENT/OS_FILE"/>
    </xsl:attribute>
    </input>
    </span>
    <input name="OS_FILE">
    <xsl:attribute name="value">
    <xsl:value-of select="EditFuneralHome/HOME_OUR_COMMITMENT/OS_FILE"/>
    </xsl:attribute>
    </input>
    </td>
    </tr>
    <tr>
    <td/>
    <td/>
    <td>
    <xsl:if test="not(EditFuneralHome/HOME_OUR_COMMITMENT/OS_FILE[.=''])">
    <font color="blue">Current File Chosen: <xsl:value-of select="EditFuneralHome/HOME_OUR_COMMITMENT/OS_FILE"/></font>
    </xsl:if>
    </td>
    </tr>

    ================================================== ==============

    The textbox does not allow one to enter in a value, such as a URL. Also the functionality of the upload appears broken. Do you have any suggestions?

    Thanks, Midani

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,244
    Rep Power
    19

    Default Re: Trouble with Video Upload Function

    Moved from New to Java.

    Look around the FAQs of the site and discover how to post code so that it retains its formatting.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Recursive function to iteractive function
    By mikeZet in forum New To Java
    Replies: 0
    Last Post: 03-13-2012, 01:42 AM
  2. Calling function in Javascript- from other function
    By jdigger in forum New To Java
    Replies: 1
    Last Post: 02-27-2011, 09:00 PM
  3. Replies: 3
    Last Post: 12-04-2009, 03:08 PM
  4. :large file upload to server(chunk upload)
    By tommy_725 in forum Networking
    Replies: 0
    Last Post: 10-16-2009, 12:21 AM
  5. Rad Upload 3.12
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-01-2007, 06:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •