<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[and1possible的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/and1possible</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; and1possible]]></copyright><item><title><![CDATA[解决IDEA中jsp<taglib>标签没有提示]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105543328</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105543328</guid><author>and1possible</author><pubDate>Wed, 15 Apr 2020 20:12:14 +0800</pubDate><description><![CDATA[首先找到这两个支持jar包



然后添加到项目的web 下面的WEB-INF -- &gt;lib（没有的话自己建）下

接着

鼠标在项目上右键 Add as library,下拉列表选择project library 或者Module Library都可以。



点击OK保存即可
...]]></description><category></category></item><item><title><![CDATA[关于Session钝化、活化过程的操作]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105498409</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105498409</guid><author>and1possible</author><pubDate>Mon, 13 Apr 2020 22:08:11 +0800</pubDate><description><![CDATA[客户端不关闭，服务器关闭后，两次获取的session不是同一个，但是要确保数据不丢失。tomcat自动完成以下工作
    * session的钝化：
     * 在服务器正常关闭之前，将session对象系列化到硬盘上
    * session的活化：
     * 在服务器启动后，...]]></description><category></category></item><item><title><![CDATA[通过查看tomcat源码佐证“jsp的本质就是Servlet”]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105485732</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105485732</guid><author>and1possible</author><pubDate>Mon, 13 Apr 2020 12:20:45 +0800</pubDate><description><![CDATA[1、运行完web项目之后 我们停掉tomcat服务器 其中第一个路径

Using CATALINA_BASE:  "C:\Users\Administrator\.IntelliJIdea2019.3\system\tomcat\Tomcat_9_0_31_CookieTest"



2、在本地中打开并进入下层目录：

C:\Users\Administrator\.IntelliJIdea...]]></description><category></category></item><item><title><![CDATA[An invalid character [32] was present in the Cookie value]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105451394</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105451394</guid><author>and1possible</author><pubDate>Sat, 11 Apr 2020 13:42:38 +0800</pubDate><description><![CDATA[由于使用的tomcat版本过高，不能再cookie中定义空格，删掉（或者替换）cookie中的空格即可。
]]></description><category></category></item><item><title><![CDATA[idea中修改Servlet创建模板]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105450891</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105450891</guid><author>and1possible</author><pubDate>Sat, 11 Apr 2020 13:07:29 +0800</pubDate><description><![CDATA[File--&gt;Settings-----...如下图


]]></description><category></category></item><item><title><![CDATA[import sun.misc.BASE64Decoder;报错的解决办法]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105450373</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105450373</guid><author>and1possible</author><pubDate>Sat, 11 Apr 2020 12:28:04 +0800</pubDate><description><![CDATA[由于JDK中的/lib/tool.jar和/lib/rt.jar已经从Java SE 9中删除

因而使用 java.util.Base64.Encoder 和 java.util.Base64.Decoder 替代使用

具体代码如下：

import java.util.Base64;

import java.io.UnsupportedEncodingException;

import ...]]></description><category></category></item><item><title><![CDATA[Cannot start compilation: the output path is not specified for module "checkCode". Specify the out]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105389221</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105389221</guid><author>and1possible</author><pubDate>Wed, 08 Apr 2020 15:41:44 +0800</pubDate><description><![CDATA[该错误是因为没有设置output的路径，只要修改两个地方的设置就可以了：

第一步：

File -- project Structure -- Modules -- Compiler output 选中第一个单选按钮。

第二步：

File -- project Structure -- Project -- Project compiler output下面选择一个输出路径 + \out
...]]></description><category></category></item><item><title><![CDATA[javax.servlet.ServletException: Servlet execution threw an exception异常]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105331996</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105331996</guid><author>and1possible</author><pubDate>Sun, 05 Apr 2020 19:43:26 +0800</pubDate><description><![CDATA[注意：web项目需把所有jar包放在WEB-INF目录下。
]]></description><category></category></item><item><title><![CDATA[[08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105316741</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105316741</guid><author>and1possible</author><pubDate>Sat, 04 Apr 2020 20:52:45 +0800</pubDate><description><![CDATA[根据网友们所说，是因为没有加


?serverTimezone=UTC

后缀的问题，但是我尝试了之后还是不起作用，因此，无奈之下卸载mysql ，统一mysql和其驱动包的版本，如此一来，此错误消失。
...]]></description><category></category></item><item><title><![CDATA[获取请求参数中文乱码问题]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105210745</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105210745</guid><author>and1possible</author><pubDate>Mon, 30 Mar 2020 22:33:56 +0800</pubDate><description><![CDATA[发现在Servlet中如果走的是get（）方式，则不会有中文乱码，但如果走的是post方式，则会乱码

原因：

    因为tomcat 8 已经将get方式乱码问题解决了，get方式走的是url，拿到的直接就是中文。而post走的是流的方式，转换过来就会乱码
解决：

    在获取参数前，设置request的编码request.setCharacterEncoding("ut...]]></description><category></category></item><item><title><![CDATA[关于tomcat启动报错java.lang.IllegalStateException: Error starting child]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/105209470</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/105209470</guid><author>and1possible</author><pubDate>Mon, 30 Mar 2020 21:44:38 +0800</pubDate><description><![CDATA[该错误是由于如下图中的Servlet的urlpartten没有写"/"



而且要注意的是，如果有“ / ”但是Demo03写错的话（例如：/emo03），启动不会报错.






]]></description><category></category></item><item><title><![CDATA[使用https方式向gitHub远程发送代码]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/104821735</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/104821735</guid><author>and1possible</author><pubDate>Thu, 12 Mar 2020 16:39:07 +0800</pubDate><description><![CDATA[1、在要上传的目标仓库中获取https的地址并复制



2、在本地仓库中右键点击同步--》管理--》填入目标仓库地址--》添加保存（忽略提示确定）。



返回后在如下界面要记得选择远端URL

3、点击“推送” 弹出登录gitHUb的界面 输入相应参数



4、成功！



5、刷新仓库界面发现已经有了我们要上传的代码



刷新后



https方式push结束。
...]]></description><category></category></item><item><title><![CDATA[git中将本地代码推送到远程gitHub的SSH的两种方式]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/104817518</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/104817518</guid><author>and1possible</author><pubDate>Thu, 12 Mar 2020 14:30:36 +0800</pubDate><description><![CDATA[一：ssh方式

第一步：git bash 执行命令,生命公钥和私钥
在任意位置鼠标右键git push 并输入命令: ssh-keygen -t rsa，之后一路回车即可在 C:\Users\Administrator\.ssh下生成两个文件 分别是私钥和公钥(我们要是用的是公钥)

第二步：ssh密钥配置
密钥生成后需要在github上配置密钥本地才可以顺利访问。在浏览器gitHub中点击头像...]]></description><category></category></item><item><title><![CDATA[解决Win10 cmd窗口下启动tomcat中文乱码问题]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/104763470</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/104763470</guid><author>and1possible</author><pubDate>Mon, 09 Mar 2020 22:38:48 +0800</pubDate><description><![CDATA[运行 regedit
	
	
	进入HKEY_CURRENT_USER\Console\在下面新建%SystemRoot%_system32_cmd.exe
	
	
	右边窗口鼠标右键--&gt;新建--&gt;DWORD32...位值处，数值名称：CodePage， 值：fde9。
	
...]]></description><category></category></item><item><title><![CDATA[IDEA和eclipse的区别]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/104562148</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/104562148</guid><author>and1possible</author><pubDate>Fri, 28 Feb 2020 19:17:31 +0800</pubDate><description><![CDATA[1.IDEA能打开多个工作空间，而eclipse一次只能打开一个工作空间。

2.IDEA是一个没有ctrl+s的IDE，无需担心保存或代码丢失。可查看代码编写历史。

3.idea使用的是内存空间、会将建立的索引都保存到内存中，而实际占用的cpu少。

4.eclipse使用的内存空间相对较少，但占用的cpu多，这就导致eclipse比较卡的原因。
...]]></description><category></category></item><item><title><![CDATA[U盘中毒了？教你如何删除System Volume Information这个顽固文件夹]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/79981347</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/79981347</guid><author>and1possible</author><pubDate>Tue, 17 Apr 2018 21:42:07 +0800</pubDate><description><![CDATA[不得不说cmd命令很好用呢。最近我的U盘中毒了，格式化都删除不了System Volume Information这个顽固的文件夹，真心伤不起哇！还好现在解决了问题。看来以后得好好对待U盘，不能乱用了。本篇文章教大家如何删除System Volume Information这个顽固文件夹。希望对你有用。我的电脑是win10，win+R搜索cmd，启用cmd命令编辑器，并输入以下命令：attrib ...]]></description><category></category></item><item><title><![CDATA[关于servlet的@WebServlet注解。]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/79606515</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/79606515</guid><author>and1possible</author><pubDate>Mon, 19 Mar 2018 01:08:02 +0800</pubDate><description><![CDATA[@WebServlet注解用于标注在一个继承了HttpServlet类之上，属于类级别的注解。用法形如：@WebServlet(&quot;/DisplayHeader1&quot;)// 扩展 HttpServlet 类public class DisplayHeader extends HttpServlet {// 处理 GET 方法请求的方法public void doGet(HttpServletReque...]]></description><category></category></item><item><title><![CDATA[解决Eclipse EE部署web项目在Tomcat webapp目录下没有工程文件的问题]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/79606512</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/79606512</guid><author>and1possible</author><pubDate>Mon, 19 Mar 2018 01:04:39 +0800</pubDate><description><![CDATA[之前本人在进行web应用开发时用的都是 MyEclipse，最近在用 Eclipse EE 进行 web 应用开发时却发现成功部署后，在Tomcat 的 webapps 目录下没有相关的工程文件，要知道在使用MyEclipse的时候是默认部署到webapps目录下的。仔细查找，发现web应用竟部署到这个目录下了:其实这是个临时存放目录，在运行时Tomcat还是会读取这个目录下的工程文件进行部署。那...]]></description><category></category></item><item><title><![CDATA[There is no Action mapped for namespace / and action name"的错误]]></title><link>https://blog.youkuaiyun.com/and1possible/article/details/78273992</link><guid>https://blog.youkuaiyun.com/and1possible/article/details/78273992</guid><author>and1possible</author><pubDate>Wed, 18 Oct 2017 16:00:48 +0800</pubDate><description><![CDATA[提示"There is no Action mapped for namespace / and action name"的错误。上网查询后发现这是一个初学者经常碰到的问题，导致错误的原因主要有两种。总结如下：

      一、struts.xml文件错误。这种错误又分为以下几种：

1，struts.xml文件名错误。一定要注意拼写问题；

2，struts.xml文件放置路径错误]]></description><category></category></item></channel></rss>