Need to introduce two JS files
<%@ page language= "java" contenttype= "text/html; Charset=utf-8 "pageencoding=" UTF-8 "%>
<% @page import= "Java.util.ArrayList"%>
<%@ taglib prefix= "C" uri= "Http://java.sun.com/jsp/jstl/core"%>
<c:set var= "CTX" value= "${pagecontext.request.contextpath}"/>
<!doctype HTML PUBLIC "-/w3c/dtd HTML 4.01 transitional/en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
<%
String video_url = (string) request.getsession (). getattribute ("url");
String url = video_url.substring (Video_url.length ());
String videoname = video_url.substring (, video_url.length ());
System.out.println (URL);
%>
<script type= "Text/javascript" src= "${ctx}/resources/media/jquery.media.js" ></script>
<script type= "Text/javascript" src= "${ctx}/resources/media/jquery.metadata.js" ></script>
<title>jquery Video Plugin </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= "MMPS" >
<body>
<script type= "Text/javascript" >
$ (' A.media '). Media ();
</script>
<a class= "Media {width:480, height:425}" href= "<%=url%>" ><%=videoname%></a>
</body>
Web program Foreground Video plugin