aspose file tools*
The moose likes Servlets and the fly likes broken functionality in servlet: video upload function + non-editable textbox. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "broken functionality in servlet: video upload function + non-editable textbox." Watch "broken functionality in servlet: video upload function + non-editable textbox." New topic
Author

broken functionality in servlet: video upload function + non-editable textbox.

Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 412
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: broken functionality in servlet: video upload function + non-editable textbox.