onlymullapudi
Programmer
Hai,
I want to load video data in to the ordvideo object, i am using loadDataFromFile method ,but it is giving null exception, it is not loading. can any one try for me, (i want to load avi ro mpeg are any format)
I am putting the code here:
<HTML>
<HEAD>
</HEAD>
<BODY bgcolor="pink">
<%@ page import="oracle.ord.im.OrdVideo" %>
<%@ page import="oracle.jdbc.driver.*" %>
<%@ page import="oracle.sql.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="java.io.File" %>
<%@ page import="java.util.Date" %>
<%@ page import="java.io.*" %>
<%@ page import="javax.servlet.*" %>
<%@ page import="javax.servlet.http.*;" %>
<CENTER>
<%
try
{
OrdVideo videoproxy=null;
videoproxy.loadDataFromFile("E:\\ATHADU DVD SONGS\\athadu.AVI");
}
catch(Exception e)
{
out.println(e.getMessage()+"I/O exception");
}
%>
</center>
</body>
</html>