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
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