HuTool之验证码登录2

首先在pom.xml中写入hutooljar包依赖坐标

<!-- hutool --> 
	<dependency>
	    <groupId>cn.hutool</groupId>
	    <artifactId>hutool-all</artifactId>
	    <version>4.6.8</version>
	</dependency>	

 前端的img标签可以直接访问action请求

以粮为纲全面发展
原文地址:https://www.cnblogs.com/alexliuf/p/13801039.html