<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page import="java.sql.*"%> <%@ include file="ConnectDB.jsp" %> <% String username=(String)session.getAttribute("User_Name"); String userid=(String)session.getAttribute("User_id"); String password=(String)session.getAttribute("Password"); if(username==null || password==null) { response.sendRedirect("user_login.jsp"); } %> Upload and Share Your Videos <%@ include file="header.jsp" %>

<%@ include file="leftpanelcommon.jsp" %>
<% String browser= (String)session.getAttribute("browser"); %> You can share this video in two ways.

1. Send this link to your friends.
<% ServletContext servletContext=getServletContext(); StringBuffer UPLOAD_PATH=request.getRequestURL(); int index=UPLOAD_PATH.lastIndexOf("/"); String url=UPLOAD_PATH.substring(0,index); %>
2. Enter your friend's email address.
Email
<% if(request.getParameter("i")!=null) { %> Email has been sent successfully. <%}%>
<%@ include file="rightpanel.jsp" %>
<%@ include file="footer.jsp" %>