Comment

kiran vennampelli
blob,
November 4, 2009 at 1:07 PM

Hi Diwaka,

use the
Blob data = rset.getBlob("DATA");
int len = (int)data.length();
you will get the length of the blog
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
SQL Question

BLOB - SQL
as BLOB in the mysql database and retrieve the image and display it in the web...){} Blob image = null; Statement stmt = null; ResultSet rs...("Display Blob Example"); out.println("image not found for given id 

Hibernate Interview Questions

get Blob
get Blob   how i can display a Blob in XHTML (i developpe with hbernate 

JSP Servlet Questions

Servlets Program
Servlets Program  Hi, I have written the following servlet: [code... ByteArrayInputStream(b); Blob b1=new SerialBlob(b); PrintWriter out... the classpath for ojdbc14.jar prior to compilation. And instead of using blob object 

JDBC Questions

Blob column
Blob column  Hi all... How to store an excel file in Blob column? I m using oracle 11 g database 

Java Interview Questions

servlets - Java Interview Questions
servlets  Good Evening. I want to work with BLOB datatype. I know.... now in my project i need to work with blob. so i want to upload image from html and processing in servlets and store in DB like ORACLE. And next i want 

JDBC Questions

Oracle BLOB
Oracle BLOB  Can anyone send me the code for inserting an image or audio into the oracle database using BLOB datatype. Plz...it's useful for my project 

Servlet Interview Questions

servlets
servlets  what is the duties of response object in servlets 

Servlet Interview Questions

servlets
servlets  why we are using servlets 

Servlet Interview Questions

servlets
what are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets 

Hibernate Questions

Blob update in hibernate
Blob update in hibernate  Hi , I wanted to upload a blob into mysql database using hibernate. Could you please help me . Thanks in advance, Satchidanand Mohanty 

JSP Servlet Questions

Servlets
Servlets  How to edit and delete a row from the existing table in servlets 

Servlet Interview Questions

servlets
servlets  How do you communicate between the servlets?   We can communicate between servlets by using RequestDespatcher interface and servlet chaining 

Servlet Interview Questions

servlets
what is the architecture of a servlets package  what is the architecture of a servlets package   The javax.servlet package provides interfaces and classes for writing servlets. The Servlet Interface The central 

JSP Servlet Questions

Blob images - JSP-Servlet
Blob images  Hi sir how can i retrieve blob images from database using jsp from mysql  Hi Friend, Please visit the following link: http://www.roseindia.net/jsp/retrieve-image.shtml Hope that it will be helpful 

JSP Servlet Questions

Servlets
Servlets  How to check,whether the user is logged in or not in servlets to disply the home page 

Java Interview Questions

servlets
servlets  why we require wrappers in servlets? what are its uses? Please explain   These wrappers classes help you to modify request...://www.roseindia.net/servlets/response-filte.shtml 

Development process Questions

Servlets
. Anyways, please visit the following links: http://www.roseindia.net/servlets/introductiontoconfigrationservlet.shtml http://www.roseindia.net/servlets 

JSP Servlet Questions

servlets
servlets  How to open and read the contents of a text file in servlets?   Please visit the following link: Read text file using Servlet 

MySQL

MySQL BLOB
MySQL BLOB This example illustrates how to create the BLOB type field... field blob type.   Query  ..., `image` blob, PRIMARY KEY(`id`) );   

JSP Servlet Questions

servlets
servlets   Hi what is pre initialized servlets, how can we achives?   When servlet container is loaded, all the servlets defined in the web.xml file does not initialized by default. But the container receives 

WebSevices Questions

Servlets and
Servlets and   Sir...! I want to insert or delete records form oracle based on the value of confirm box can you please give me the idea.... thanks 

Servlet Interview Questions

servlets
servlets why do we need web-inf directory in web application  why do we need web-inf directory in web application? means what's the benefits of doing so 

Servlet Interview Questions

servlets
which are the differ ways you can communicat between servlets  which are the differ ways you can communicat between servlets   Different ways of communicating between servlets:- 1)Using RequestDispatcher object. 2 

JDBC Questions

upload SQL BLOB and CLOB - JDBC
upload SQL BLOB and CLOB  Please explain upload SQL BLOB and CLOB 

Servlet Interview Questions

servlets
package supports the development of servlets that use the HTTP protocol. The classes... javax.servlet.GenericServlet and serves as the base class for HTTP servlets. HttpServlet-Request 

Servlet Interview Questions

servlets
what are sessions in servlets  what are sessions in servlets   A Session refers to all the request that a single client makes to a server...: http://roseindia.net/jsp/jspsession/ http://www.roseindia.net/servlets 

Servlet Interview Questions

the servlets
what is diff between generic servlets and httpservlets  what is diff between generic servlets and httpservlets   Difference between GenericServlet and HTTPServlet: 1)GenericServlet belongs to javax.servlet package 

Servlet Interview Questions

servlets
regarding the user usage and habits. Servlets sends cookies to the browser client...://www.roseindia.net/jsp/jspcookies.shtml http://www.roseindia.net/servlets/use 

JSP Servlet Questions

Blob - JSP-Servlet
Blob  Hi Friend, Thank you very much for all the answers. I need the code for reading a BLOB field(image) from the database and write the same to a file(jpg file) using JSP. Thank you in advance  Hi Friend, Use 

JSP Servlet Questions

servlets
servlets  hi i am using servlets i have a problem in doing an application. in my application i have html form, in which i have to insert on date value, this date value is retrieved as a request parameter in my servlet 

Servlet Interview Questions

servlets
servlets  what are different authentication options available in servlets   There are four ways of authentication:- HTTP basic authentication HTTP digest authentication HTTPS client authentication Form-based 

Servlet Interview Questions

servlets
what are filters in java servlets  what are filters in java   Filters are powerful tools in servlet environment. Filters add certain functionality to the servlets apart from processing request and response paradigm 

Servlet Interview Questions

SERVLETS
 

JSP Servlet Questions

servlets
 

JSP Interview Questions

servlets
 

Servlet Interview Questions

the servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

the servlets
 

Java Beginners

servlets
 

Java Beginners

servlets
 

Servlet Interview Questions

servlets
 

Java Beginners

Servlets
 

Java Interview Questions

servlets
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

Development process Questions

SERVLETS
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

Development process Questions

SERVLETS
 

JSP Servlet Questions

servlets
 

JSP Servlet Questions

servlets
 

JSP Servlet Questions

Servlets
 

Java Server Faces Questions

Servlets
 

JSP Servlet Questions

Servlets
 

JDBC Questions

using Blob in jdbc - JDBC
using Blob in jdbc  Hi, I got an Exception when i was trying to insert one image into oracle 10g database the exception is Exception in thread "main" java.sql.SQLException: ORA-01460: unimplemented or un reasonable 

General

Get Blob
Get Blob       Blob is known as 'binary large object', is a collection of binary data... where you want to retrieve image saved as blob.    2. Create 

Java Server Faces Questions

get and display blob from mysql on jsf
get and display blob from mysql on jsf  i want to get blob from mysql, and display on jsf page. your examples with jsp. i dont find an example with jsf. plese help me about this. thanks..   Have a look at the following 

Programming Tutorials

Insert Mysql Blob data
Insert Mysql Blob data   In this section, we will discuss about how to insert a blob data into a database table. A Blob stores a binary large object in the database table's row. Blob object contains a logical pointer 

JSP Servlet Questions

how to retrieve blob data - JSP-Servlet
how to retrieve blob data  How to retrieve the BLOB table having single row single column in Database containing memory information using JSP as a table format?   Hi friend, I am sending you a link. I hope 

JSP Interview Questions

pint multiple images from blob database
pint multiple images from blob database  How to display multiple images using blob from mysql database. The program code is as below: <TABLE cellpadding="15" border="1" style="background-color: #ffffcc;"> < 

WebSevices Questions

how to expose blob in restful web service client java
how to expose blob in restful web service client java   how to expose blob in restful webservice clientside and how to convert the blob into a file,please help me 

WebSevices Questions

how to expose blob in restful web service client java
how to expose blob in restful web service client java   how to expose blob in restful webservice clientside and how to convert the blob into a file,please help me 

Spring Framework

Spring 3.2 MVC insert and retrieve blob from the database
In this section, you will learn about inserting and retrieving blob from the database 

SQL Question

Difference between Normal Insert and BLOB insert
Difference between Normal Insert and BLOB insert  I have sql database...\Pictures\Sample Pictures\Tulips.jpg', SINGLE_BLOB) AS BLOB) Here is the code... normal insert image.. I dont want to use AS BLOB in insert statement    

WebSevices Questions

how to expose blob in restful web service client java rest template
how to expose blob in restful web service client java rest template  how to expose blob in restful web service client java rest template 

JSP Servlet Questions

jsp -servlets
jsp -servlets  i have servlets s1 in this servlets i have created emplooyee object, other servlets is s2, then how can we find employee information in s2 servlets 

JSP Servlet Questions

Servlets with Extjs
Servlets with Extjs  how to integrate servlets and extjs and also show database records in extjs grid using servlet how to get servlets json response. Can any one please help me 

Servlet Interview Questions

Authentication in Servlets
Authentication in Servlets  What are different Authentication options available in Servlets 

JDBC Questions

java servlets
java servlets  please help... how to connect java servlets with mysql i am using apache tomcat 5.5 

Servlet Interview Questions

advantages of Servlets
advantages of Servlets  What is advantages of Servlets ?    Portability. Powerful. Efficiency. Safety. Integration. Extensibilty. Inexpensive 

JDBC

Servlet Example To Display Mysql Blob Data
Servlet Example To Display Mysql Blob Data    ... type BLOB. The BLOB type stores/retreives large binary objects such as PDF files, video clips, JPEG/GIF pictures, and Microsoft word documents. A BLOB 

Java Server Faces Questions

servlets and struts
servlets and struts  wat is the diffrence between servlets and struts?   A Servlet is a technology and Struts is a framework which relies on or makes use of Servlets.A Servlet is a controller. Struts has its own Servlet 

JDBC Questions

store the image in the oracle using blob and get it back - JDBC
store the image in the oracle using blob and get it back  hi i am... { PreparedStatement ps = conn.prepareStatement("INSERT INTO IMAGES VALUES (?, empty_blob... by // InputStream is = rs.getBinaryStream(1); Blob blob = rs.getBlob(1 

Java Beginners

How to save excel sheet into mysql database using blob or clob
How to save excel sheet into mysql database using blob or clob  Hi All, I am new to java and i need to upload excel sheet to mysql, please suggest... know to go further, which one should i use BLOB or CLOB ? I have tried using 

Servlet Interview Questions

Servlets Programming
Servlets Programming  Hi this is tanu, This is a code for knowing... visit the following links: http://www.roseindia.net/servlets/SimpleCounterInServlet.shtml http://www.roseindia.net/servlets/CounterInInit.shtml http 

Servlet Interview Questions

Sessions in servlets
Sessions in servlets  What is the use of sessions in servlets?   The servlet HttpSession interface is used to simulate the concept that a person's visit to a Web site is one continuous series of interactions 

JDBC-Tutorials

Servlet Example To Delete Mysql Blob Data
Servlet Example To Delete Mysql Blob Data    BLOB data in SQL is a built-in type used for storing Binary Large Object. The BLOB type stores/retreives large binary objects such as PDF files, video 

Programming Tutorials

Insert Blob(Image) in Mysql table using JSP
Insert Blob(Image) in Mysql table using JSP In this Section, we will insert blob data(image) in Mysql database table using JSP code. A Blob stores a binary large object in the database table's row. Blob object contains a logical 

Servlet Interview Questions

servlets - Servlet Interview Questions
what is servlets in Java  what is servlets in Java 

Java-Tutorials

Deleting Blob Data from Database table using servlet
Deleting Blob Data from Database table using servlet In this section, we will discuss about how to insert a blob data into a database table. A Blob stores a binary large object in the database table's row. Blob object 

JDBC Questions

store the image in the oracle using blob and get it back - JDBC
store the image in the oracle using blob and get it back  hi i am... { PreparedStatement ps = conn.prepareStatement("INSERT INTO IMAGES VALUES (?, empty_blob... by // InputStream is = rs.getBinaryStream(1); Blob blob = rs.getBlob(1 

Java-Tutorials

Display Mysql "Blob" data using servlet
will discuss about how to display a blob data stored in database table. A Blob stores a binary large object in the database table's row. Blob object contains a logical pointer which points to the Blob data, data is not directly 

XML Questions

xml and servlets
 

XML Questions

xml and servlets
 

JSP Servlet Questions

jsp and servlets
 

JSP Servlet Questions

Error in servlets
 

JSP Servlet Questions

jsp and servlets
 

Java Beginners

database and servlets
 

Advertisements Advertisements
 

 

 

DMCA.com