2014年1月15日

摘要: 使用chrome浏览器打开某网页时总会出现错误:此网页包含重定向循环解决办法:关闭chrome浏览器,到你的机器的:C:\Users\username\AppData\Local\Google\Chrome\User Data找到default文件夹并将其重命名,重新打开chrome浏览器即可(此时新生成了一个default文件夹)。 阅读全文

posted @ 2014-01-15 15:19 JasmineLiu 阅读(1728) 评论(0) 推荐(0) 编辑


2014年1月8日

摘要: import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;//在MyEclipse中创建该类并执行,输入你想要的注册名,即可得到你的注册码。【转自互联网】public class MyEclipseGen { private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Dig 阅读全文

posted @ 2014-01-08 16:26 JasmineLiu 阅读(638) 评论(0) 推荐(0) 编辑


2014年1月6日

摘要: 引用文章:http://www.ibm.com/developerworks/cn/java/j-jsp04293/ http://www.cnblogs.com/lazycoding/archive/2011/04/04/two_include.htmlJSP中两种include的区别首先说明这两种都是什么:<%@ include file=”relativeURI”%> 可以叫作静态include(静态包含),是jsp指令中的一种,(JSP指令控制JSP编译器如何去生成servlet(servlet是用Java编写的服务器端程序。其主要功能在于交互式地浏览和修改数据,生成动态We... 阅读全文

posted @ 2014-01-06 14:56 JasmineLiu 阅读(357) 评论(0) 推荐(0) 编辑

摘要: Eclipse的web工程至Tomcat默认的部署目录是在工程空间下,本文旨在将部署目录改为Tomcat安装目录,并解决依赖包输出问题。1.在Eclipse中添加Tomcat服务器。2.将web工程发布至tomcat:选择刚添加的Tomcat:此时Eclipse将自动生成Servers工程:3.在Servers视图,Remove删除刚刚发布的项目:4.打开Tomcat服务器配置项:5.修改以下两个配置项,Tomcat保持启动状态,否则Server Locations一栏变灰色,不可用:6.配置lib输出。项目右键:点击下一步,选中需要随项目发布到tomcat的包,完成确认操作。7.修改工程下的 阅读全文

posted @ 2014-01-06 14:52 JasmineLiu 阅读(263) 评论(0) 推荐(0) 编辑

摘要: 转自【互动百科】http://www.baike.com/wiki/SessionSessionSession:在计算机中,尤其是在网络应用中,称为“会话”。Session直接翻译成中文比较困难,一般都译成时域。在计算机专业术语中,Session是指一个终端用户与交互系统进行通信的时间间隔,通常指从注册进入系统到注销退出系统之间所经过的时间。具体到Web中的Session指的就是用户在浏览某个网站时,从进入网站到浏览器关闭所经过的这段时间,也就是用户浏览这个网站所花费的时间。因此从上述的定义中我们可以看到,Session实际上是一个特定的时间概念。编辑摘要目录[隐藏]1 理解session机制 阅读全文

posted @ 2014-01-06 14:41 JasmineLiu 阅读(2046) 评论(0) 推荐(0) 编辑

摘要: JavaBeansA JavaBean is a class that followsthe JavaBeans conventionsas defined by Sun. Wikipedia has a pretty good summary of whatJavaBeansare:JavaBeans are reusable software components for Java that can be manipulated visually in a builder tool. Practically, they are classes written in the Java pro 阅读全文

posted @ 2014-01-06 14:36 JasmineLiu 阅读(2372) 评论(0) 推荐(0) 编辑


2013年12月23日

摘要: Linux下apache+phppgadmin+postgresql安装配置操作系统:CentOS安装包:httpd(首选yum), php(包括php以及php-pgsql,php-mbstring,首选yum), phppgadmin , postgresql 。一、配置php项目部署环境关闭Centos默认的selinux: vi /etc/selinux/config SELINUX=disabled 重启: /sbin/init 6安装apache(手动安装文件,如:httpd-2.4.4.tar.gz或yum安装均可)[root@localhost conf]#yum instal 阅读全文

posted @ 2013-12-23 15:40 JasmineLiu 阅读(1502) 评论(0) 推荐(0) 编辑


2013年12月20日

摘要: 1.安装pg安装PostgreSQL数据库修改pg_hba。conf配置文件,使得数据库可以通过外部访问。具体可以配置为:# TYPE DATABASE USER ADDRESS METHOD# "local" is for Unix domain socket connections onlylocal all all md5# IPv4 local connections:host all a... 阅读全文

posted @ 2013-12-20 09:48 JasmineLiu 阅读(808) 评论(0) 推荐(0) 编辑


2013年12月18日

摘要: 操作系统:centos (32bit)1. 下载合适的安装包。原则是:安装包类型和(bit)位数要与操作系统一致,tomcat和jdk的版本要兼容,如:apache-tomcat-6.0.37.tar.gzjdk-6u45-linux-i586.bin如果不是本地下载安装包,而是从其他机器传过来的,那么在安装之前要先给安装包授权,假设安装包在目录/user下[web@web Desktop]#su root[root@web Desktop]#cd /user[root@web user]# lsjdk-6u45-linux-x64.bin apache-tomcat-6.0.37.tar.g 阅读全文

posted @ 2013-12-18 13:59 JasmineLiu 阅读(281) 评论(0) 推荐(0) 编辑


2013年12月9日

摘要: 1.hash脚本文件名:assign 内 容:#!/bin/shcd $1ls执行: [root@db2 ~]# sh helle2.sh /usr 或者[root@db2 ~]#./helle2.sh /usr输出结果:bin etc games include lib lib64 libexec local sbin share src tmp2.perl脚本首先要安装perl:yum install perl文件名:hello.pl内容:#!/usr/bin/perlprint"Hello World"执行:[root@db2 ~]# perl... 阅读全文

posted @ 2013-12-09 10:51 JasmineLiu 阅读(423) 评论(0) 推荐(0) 编辑


Copyright © 2024 JasmineLiu
Powered by .NET 8.0 on Kubernetes