answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you store and retrive the image in mysql database using jsp coding?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you get the image file from the database with JSP?

Follow the steps of this article: codejava.net/coding/upload-files-to-database-servlet-jsp-mysql.


Is Wikipedia a database?

The coding of Wikipedia relies heavily on PHP and MySQL with almost everything but the images in a MySQL database. The locations of the images are in the database. So yes, in a way, Wikipedia is a database. However a database is a type of software that stores data, while Wikipedia is a wiki, a collaborative editing site.


How do you retrieve an image from a database using PHP?

It depends what Database you are using. I personally use MySQL so will explain how you would do it using MySQL. You would have to create the MySQL database. I would store the image URL rather than the actual image. Then call it using PHP and a MySQL query. For Example: $sql = "SELECT * FROM Images WHERE Img_Name = 'img1'"; $query = mysql_query($sql); $array = mysql_fetch_array(query); then you would call it into HTML like so:


How do you create a new database in MySQL?

The MySQL command is "CREATE DATABASE [dbname]" with "[dbname]" replaced with your desired database name.


How are the simple coding of php with database?

Working with mySQL databases: <?php // Connects to the database mysql_connect(servername,username,password); // Inserts into a database mysql_query(INSERT INTO table(cat1, cat2, cat3) VALUES(one,two,three)); ?>


What type of database is used in Friendster?

MYSQL database


What is MyISAM in MySQL?

MyISAM is the default table engine in the MySQL database.


What database does the WAMP server refer to when it?

WAMP stands for Windows Apache Mysql PHP. Mysql is the default database in WAMP


What is wikipedia's database website?

Wikipedia uses MySQL as its database.


How do you copy a database of mysql in wamp server from one computer to another?

You have several options: * copy the database files from mysql/data/<database_name> to a new mysql Installation * use mysqldump utility to export the data from your database and load it into the new mysql installation * setup replication


What company is the developer of the MySQL database?

The developer of the MySQL database software was MySQL AB, which was bought by Sun 2008 for one billion dollars. Oracle then acquire sun and hence MySQL and is currently responsible for the continuing development.


How do you put today's date into MySQL database?

Use: $todaysdate = date("d/m/y"); And then just send that to the MySQL database