雕刻时光

just do it……nothing impossible
随笔 - 547, 文章 - 0, 评论 - 82, 阅读 - 86万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

09 2014 档案

摘要:在web.xml里加上: adminEmail XXXXX@163.com 然后在servlet里面调用:getServletConfig().getIni... 阅读全文

posted @ 2014-09-26 13:48 huhuuu 阅读(249) 评论(0) 推荐(0) 编辑

摘要:html:Insert title herehelloPost! Select beer 12 oz. 16 oz. 22 oz. >servlet:package com.example.web;import ja... 阅读全文

posted @ 2014-09-26 09:45 huhuuu 阅读(2277) 评论(0) 推荐(0) 编辑

摘要:#!/usr/bin/env python# -*- coding: utf-8 -*-#导入smtplib和MIMETextimport smtplibfrom email.MIMEText import MIMETextmail_to="XXXXXXXX@qq.com"#要发给谁def send... 阅读全文

posted @ 2014-09-25 19:37 huhuuu 阅读(949) 评论(0) 推荐(0) 编辑

摘要:假如,现在我做了一个给用户使用的html页面:Insert title herehelloPost! Select beer > 中的SelectBeer.do有点像资源名。最终会被http:/127.0.0.1:8080/文件名/SelectBeer.d... 阅读全文

posted @ 2014-09-25 16:07 huhuuu 阅读(45605) 评论(0) 推荐(0) 编辑

摘要:package test5;public class test1 { public static void main(String[] args) { String s1="accp"; String s2="accp"; S... 阅读全文

posted @ 2014-09-23 15:17 huhuuu 阅读(254) 评论(0) 推荐(0) 编辑

摘要:本来以为把jsp页面设置为UTF-8,服务器端用filter把request和response设置为utf-8,中文问题应该就差不多了。但tomcat似乎中间给我我们加了步骤。1 页面页面中设置的编码,我们post的数据就会按照页面的编码进行 encode,比如 我们要post数据为 site=博客... 阅读全文

posted @ 2014-09-22 10:58 huhuuu 阅读(217) 评论(0) 推荐(0) 编辑

摘要:package test2;import java.io.UnsupportedEncodingException;import java.net.URLDecoder;import java.net.URLEncoder;import java.util.*;import javax.swing.... 阅读全文

posted @ 2014-09-18 14:47 huhuuu 阅读(186) 评论(0) 推荐(0) 编辑

摘要:package test2;import java.util.*;import static java.lang.System.out;public class test2 extends StaticSuper{ //put输入,get,得到 static void mapT... 阅读全文

posted @ 2014-09-16 10:55 huhuuu 阅读(9278) 评论(0) 推荐(0) 编辑

摘要:valgrind主要检测内存的使用情况,检测有否内存泄露等。比如:test_va2.cpp#includeusing namespace std;int main(){ int i[5]; char *p; char *p2 = new char[123];... 阅读全文

posted @ 2014-09-05 17:54 huhuuu 阅读(405) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示