Hi Yogen,
I gave it like this,but still its not worikng.
File file = new File("file://"+request.getParameter("image"));
InputStream inStream = new FileInputStream(request.getParameter("image"));
// where image is the name of input type.
PreparedStatement pstmt = null;
pstmt = conn.prepareStatement("INSERT INTO
TEST VALUES(?,?)");
pstmt.setInt(1,no);
pstmt.setBinaryStream(2,inStream,(int)file.length());
pstmt.execute();