This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!