06 2015 档案
摘要:原文http://blog.csdn.net/woshixuye/article/details/7734482首先我们有一个Action——UserActionpublic classUserActionextends ActionSupport{ public String add() { re...
阅读全文
摘要:B. Ohana Cleans Up Ohana Matsumae is trying to clean a room, which is divided up into annbyngrid of squares. Each square ...
阅读全文
摘要:C. Vanya and ScalesVanya has a scales for weighing loads and weights of massesw0, w1, w2, ..., w100grams wherewis some integer...
阅读全文
摘要:public class DistributeDao implements Serializable{ private SessionFactory sessionFactory; public Session getSession() { return s...
阅读全文
摘要:Hibernate主键生成策略:http://www.cnblogs.com/flyoung2008/articles/2165759.html一般自增主键(Integer)映射方式: String(字符串)为主键的映射方式:
阅读全文
摘要:B. Preparing OlympiadYou havenproblems. You have estimated the difficulty of thei-th one as integerci. Now you want to...
阅读全文
摘要:package com.hzml.serve;import java.io.File;import java.io.IOException;import java.io.PrintWriter;import java.util.*;import javax.servlet.ServletContex...
阅读全文
摘要://首先是Action部分import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.UnsupportedEncodingException;import jav...
阅读全文