inserts an FLV player in an HTML page. IE Firefox are available
<%@ page language= "java" import= "java.util.*" pageencoding= "Iso-8859-1"%>
<%
String path = Request.getcontextpath ();
String basepath = request.getscheme () + "://" +request.getservername () + ":" +request.getserverport () +path+ "/";
%>
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >
<base href= "<%=basePath%>" >
<title>my JSP ' myjsp.jsp ' starting page</title>
<meta http-equiv= "Pragma" content= "No-cache" >
<meta http-equiv= "Cache-control" content= "No-cache" >
<meta http-equiv= "Expires" content= "0" >
<meta http-equiv= "keywords" content= "keyword1,keyword2,keyword3" >
<meta http-equiv= "description" content= "This are my page" >
<!--
<link rel= "stylesheet" type= "Text/css" href= "Styles.css" >
-->
<body>
<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
Codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height= "Width=" >
<param name= "movie"
Value= "http://localhost:8080/filedownload/vcastr22.swf?vcastr_file=http://localhost:8080/filedownload/wo.flv" >
<param name= "Quality" value= "High" >
<param name= "allowFullScreen" value= "true"/>
<embed
Src= "http://localhost:8080/filedownload/vcastr22.swf?vcastr_file=http://localhost:8080/filedownload/wo.flv"
Quality= "High"
Pluginspage= "Http://www.macromedia.com/go/getflashplayer"
Type= "Application/x-shockwave-flash" width= "height=" >
</embed>
</object>
</body>
In other blogs see the code, they made adjustments, vcastr22.swf this player needs to go online to download ... Do not go, you can find a network of playback, but I am afraid of instability, on their own down a, put in the program inside the