Hello , I have a problem with the integration of a video (wmv format) within a JSP page. To that end I use the tag html <object> which allows me to integrate my video played with Windows Media Player, these videos are stored on an application server Weblogic 8.1. But I faced the following problem: my tag object should recover within its attribute "src" a stream obtained from an action struts 2. If a recovery this flow is done smoothly in the event of a gif or jpeg image, the same action can not play the video in the drive (displaying a black screen on the player without the possibility of reading).
Viewing an image (runs smoothly): <img src="/DLImage.action?file=chateau.gif" /> Viewing a video: <object type="video/x-ms-wmv" width="320" height="255"> <param name="src" value="/Download.action?file=test.wmv" /> <param name="autoStart" value="0" /> </ object> The actions DLImage.action and Download.action make available a flow-type java.io.FileInputStream from the files stored on the server. Please give me your comments if you've already encountered a similar problem or if you have a solution or alternative to propose, I would be grateful! -- Yousri BENDIABDALLAH