diff --git a/README.md b/README.md index 296ac03..5006b34 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,12 @@ dependencies { CaptchaServlet - /image/captcha +    /images/captcha ``` 2.前端代码 ```html - + ``` ### 在*SpringMVC*中使用 @@ -77,7 +77,7 @@ public void captcha(HttpServletRequest request, HttpServletResponse response) { ``` 前端代码: ```html - + ``` ### 前后端分离中使用 @@ -97,7 +97,7 @@ public void captcha(String key, HttpServletRequest request, HttpServletResponse 前后端分离也同样可以使用框架自带的servlet,使用方式如下: ```html - + ``` @@ -131,4 +131,4 @@ CaptchaUtil captcha = new CaptchaUtil(130, 38, 5); CaptchaUtil captcha = new CaptchaUtil(); captcha.setCodeName("captcha"); ``` -默认存在session中是以captcha为key存储的,存储在servletContext中是以captcha-xxx为key存储的,xxx是生成的时候前端传递的key。 \ No newline at end of file +默认存在session中是以captcha为key存储的,存储在servletContext中是以captcha-xxx为key存储的,xxx是生成的时候前端传递的key。