springmvc结合base64存取图片到mysql

简介:

1.jsp通过MultipartFile上传图片到后台

2.后台把上传的图片通过base64转换成字符串存到mysql

3.从mysql读取图片字符串,通过base64反转成byte数组,再显示到jsp

1.mysql表结构

2.影射对象

package net.spring.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_img")
public class Img {
	@Id
	private String name;
	@Column
	private String imgData;

	public String getImgData() {
		return imgData;
	}

	public void setImgData(String imgData) {
		this.imgData = imgData;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}

3.数据库操作语句

	/**
	 * 插入图片
	 */
	@Override
	public void savaImg(Img img) {
		try{
			this.getHibernateTemplate().save(img);
		}catch(Exception e){
			e.printStackTrace();
		}
	}

	/**
	 * 取得图片
	 */
	@Override
	public Img getImg(String name) {
		Query query = this.getSession().createQuery(
				"from Img a where a.name = '" + name + "'");
		return (Img)query.uniqueResult();
	}

4.controller

通过MultipartFile上传文件,具体技术可以看这篇文章点击打开链接

	/**
	 * 上传文件
	 * @param file
	 * @param request
	 * @param map
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value = "uploadForm")
	public String uploadMethod(@RequestParam("file") MultipartFile file,
			HttpServletRequest request, Map<String, Object> map) {

		if (!file.isEmpty()) {
			try {
				BASE64Encoder encoder = new BASE64Encoder();
				// 通过base64来转化图片
				String data = encoder.encode(file.getBytes());

				Img mImg = new Img();
				mImg.setName("zzzz1");
				mImg.setImgData(data);
				mTestService.savaImg(mImg);

			} catch (Exception e) {
				e.printStackTrace();
			}
		} else {
			map.put("message", "文件为空");
			return "errorView";
		}
		return null;
	}
	/**
	 * 取得图片
	 * @param request
	 * @param response
	 */
	@RequestMapping("getImg")
	public void getImg(HttpServletRequest request,HttpServletResponse response){
		String imgId = request.getParameter("imgId");
		Img img = mTestService.getImg(imgId);
		String data = img.getImgData();
		BASE64Decoder decoder = new BASE64Decoder();
		try {
			byte[] bytes = decoder.decodeBuffer(data);
			for (int i = 0; i < bytes.length; ++i) {
                if (bytes[i] < 0) {// 调整异常数据
                    bytes[i] += 256;
                }
            }
			ServletOutputStream out = response.getOutputStream();
			out.write(bytes);
            out.flush();
            out.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

5.jsp

	$(document).ready(function() {
		 $("#imgId").click(function(){
             var width = $(this).width();
             if(width==200)
             {
            	 // 图片变大
                 $(this).width(500);
                 $(this).height(500);

                 // 设值图片到屏幕中间
            	 $(this).css("position","absolute");
            	 $(this).css("top", ( $(window).height() - $(this).height() ) / 2+$(window).scrollTop() + "px");
            	 $(this).css("left", ( $(window).width() - $(this).width() ) / 2+$(window).scrollLeft() + "px");
             }
             else
             {
            	 // 还原成原来大小
            	 $(this).css("position","static");
            	 $(this).css("top","0px");
            	 $(this).css("left","0px");
                 $(this).width(200);
                 $(this).height(200);
             }
         });
	});
<span style="white-space:pre">	</span>function getImg(){
<span style="white-space:pre">		</span>$("#imgId").attr('src',"getImg.html?imgId=zzzz1"); 
<span style="white-space:pre">	</span>}
	<input type="button" value="getImg" onclick="getImg()"/>
	<img width="200px" height="200px" src="" id="imgId">

6.效果图

7.base64转换图片后在数据库里的数据

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcU

FhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgo

KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAGWAiYDASIA

AhEBAxEB/8QAHAABAAEFAQEAAAAAAAAAAAAAAAcBAgUGCAQD/8QAVBAAAQMDAQUCCQgECQkIAwAA

AAECAwQFEQYHEiExQVFhEyJxgZGhscHRFBUyNlJydLIII0JiFyQzN0NzgoThFiUmNURFg5KTNFNU

VWSUwvBWY9L/xAAbAQEAAgMBAQAAAAAAAAAAAAAABAUBAgMGB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AAAAAAAAAAAAAAAAAA

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

AAAAAAAAAAAAAAAAAAAAAAAAAAAA/9k=

时间: 2024-12-08 17:11:23

springmvc结合base64存取图片到mysql的相关文章

[技巧篇]02.关于MyBatis存取图片到MySQL数据Blob字段

SharedPreferences详解(三)——存取图片

MainActivity如下: 1 package cc.sp; 2 3 import java.io.ByteArrayInputStream; 4 import java.io.ByteArrayOutputStream; 5 import android.os.Bundle; 6 import android.util.Base64; 7 import android.view.View; 8 import android.view.View.OnClickListener; 9 impo

使用HTML5的File实现base64和图片的互转

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-

php把图片存入mysql DATA库

php把图片存入mysql DATA库----在网站建设过程中,笔者与大家分享一下用php把图片存入mysqlDATA库中并在网页上显示的代码,具体如下: //保存图片到DATA库 If($Picture != "none") { $PSize = filesize($Picture); $mysqlPicture = addslashes(fread(fopen($Picture, "r"), $PSize)); mysql_connect($host,$user

利用base64展示图片

其实很简单,格式如下: <img src="data:image/jpg;base64,具体的编码值" /> 示例如下: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>利用base64展示图片</title> 5 </head> 6 <body> 7 <img src="data:image/jpg;base64,/9j/4QAYR

base64与图片之间的转换

实现:base64与图片之间的转换 + 上传的简单实现 1 package com.thinkive.bank.mass.plat.bus.common.util; 2 3 import java.io.File; 4 import java.io.FileInputStream; 5 import java.io.FileNotFoundException; 6 import java.io.FileOutputStream; 7 import java.io.IOException; 8 i

Delphi 读取 c# webservice XML的base64编码图片字符串转化图片并显示

Delphi 读取 c# webservice XML的base64编码图片字符串转化图片并显示 在 开发中遇到应用c#及asp.net的在的webservice 保存图片并以xml文件形式现实出来 并用delphi调用 的方法: 1.c#的webservice现实见 http://www.greensoftcode.net/techntxt/20127118441582992373 之前的文章. 2.在客户端用delphi显示 发现asp.net xml形式输出的图片是base64字符串形式.

java blob存取图片

1. 存入图片 Connection con=db.conn; PreparedStatement pstmt; //File file = upload; FileInputStream inputImage = new FileInputStream(upload); byte[] buf = new byte[inputImage.available()]; inputImage.read(buf); con.setAutoCommit(false); System.out.println

c#在sql中存取图片image示例

这篇文章主要介绍了c#在sql中存取图片image示例,需要的朋友可以参考下 (1)控制台应用程序下演示插入图片 复制代码 代码如下: public void InsertIMG() { //将需要存储的图片读取为数据流 FileStream fs = new FileStream(@"E:\c.jpg", FileMode.Open,FileAccess.Read); Byte[] btye2 = new byte[fs.Length]; fs.Read(btye2 , 0, Con