code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** ... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
**... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This prog... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
package br.fbv.anotaFacil.view;
import br.fbv.anotaFacil.R;
import android.app.Activity;
import android.os.Bundle;
public class ProjetoAndroidActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceStat... | Java |
package br.fbv.anotaFacil.view;
import br.fbv.anotaFacil.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;
public class AppLista extends Activity {
public ListView lista;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
se... | Java |
package br.fbv.anotaFacil.view;
import br.fbv.anotaFacil.R;
import android.app.Activity;
import android.os.Bundle;
public class ProjetoAnotaFacilActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(... | Java |
package br.fbv.anotaFacil.view;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;
import br.fbv.anotaFacil.R;
public class InicioAnotaFacilActivity extends Activity {
/**
* @see a... | Java |
package br.fbv.anotaFacil.view;
import br.fbv.anotaFacil.R;
import android.app.Activity;
import android.os.Bundle;
public class WebServicesActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);... | Java |
package br.fbv.anotaFacil.model;
import java.util.ArrayList;
public class Supermercado {
private String nome;
private int idSupermercado;
private String localizacao;
private ArrayList<Produto> listaProdutos;
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nom... | Java |
package br.fbv.anotaFacil.model;
public class Produto {
private String nome;
private int id;
private int idSupermercado;
private double preco;
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public int getId() {
return id;
}
public void... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BUS;
import java.util.List;
/**
*
* @author Anonymous
*/
public class ChuyenXeBUS {
public boolean ThemChuyenXe(DTO.ChuyenXeDTO chuyenxedto){
return DAO.ChuyenXeDAO.ThemChuyenXe(chu... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BUS;
/**
*
* @author Anonymous
*/
public class DatVeBUS {
public boolean ThemDatVe(DTO.DatVeDTO dvdto){
return DAO.DatVeDAO.ThemDatVe(dvdto);
}
}
| Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
import java.io.Serializable;
/**
*
* @author Anonymous
*/
public class PacketDTO implements Serializable{
private int Command;
private Object Data;
private boolean Flag;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
import java.io.Serializable;
import java.util.Date;
/**
*
* @author Anonymous
*/
public class ChuyenXeDTO implements Serializable{
private int MaChuyen;
private int SoLuongVe;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
import java.io.Serializable;
import java.util.Date;
/**
*
* @author Anonymous
*/
public class DatVeDTO implements Serializable{
private int MaDatVe;
private int MaChuyen;
pri... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package GUI;
import MAIN.DateLabelFormatter;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package GUI;
import java.util.prefs.Preferences;
import javax.swing.JOptionPane;
/**
*
* @author Anonymous
*/
public class ConfigGUI extends javax.swing.JFrame {
/**
* Creates new form ConfigGUI
*/
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package GUI;
import MAIN.DateLabelFormatter;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.logging.Level;
... | Java |
package MAIN;
import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;
import java.security.PublicKey;
import sun.security.x509.CertAndKeyGen;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.secur... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package MAIN;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.logging.L... | Java |
package MAIN;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.security.Key;
import java.util.Arrays;
import java.util.Random;
import javax.crypto.Cipher;
import javax.crypto.... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package MAIN;
/**
*
* @author Anonymous
*/
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import javax.swing.JFormattedTextField.AbstractFormatter;
... | Java |
package MAIN;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigInteger;
import java.nio.charset.Charset;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package MAIN;
/**
*
* @author anhdung
*/
import DAO.Connect;
import java.security.KeyPairGenerator;
import java.security.KeyPair;
import java.security.PrivateKey;
import java.security.PublicKey;
import... | Java |
package MAIN;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import static java.lang.String.format;
import java.security.MessageDigest;
import java... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DAO;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Anonymous
*/
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DAO;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Anonymous
*/
public cla... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DAO;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.lo... | Java |
package DAO;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.prefs.Preferences;
/*
* To change this template, choose Tools | Templates
* and open the templat... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DAO;
import DTO.PacketDTO;
import MAIN.GeneratePublicPrivateKeys;
import MAIN.Hash_SHA256;
import MAIN.usc_Certificate;
import MAIN.usc_RSAKeyPair;
import static MAIN.usc_sessionkey_mac.Decrypt;
impo... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DAO;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import j... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BUS;
import java.util.List;
/**
*
* @author Anonymous
*/
public class ChuyenXeBUS {
// public boolean ThemChuyenXe(DTO.ChuyenXeDTO chuyenxedto){
// return DAO.ChuyenXeDAO.ThemChuyenXe... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BUS;
import java.util.List;
/**
*
* @author Anonymous
*/
public class DatVeBUS {
public boolean ThemDatVe(DTO.DatVeDTO dvdto){
return DAO.DatVeDAO.ThemDatVe(dvdto);
}
}
| Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
import java.io.Serializable;
/**
*
* @author Anonymous
*/
public class PacketDTO implements Serializable{
private int Command;
private Object Data;
private boolean Flag;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
import java.io.Serializable;
import java.util.Date;
/**
*
* @author Anonymous
*/
public class ChuyenXeDTO implements Serializable{
private int MaChuyen;
private int SoLuongVe;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
import java.io.Serializable;
import java.util.Date;
/**
*
* @author Anonymous
*/
public class DatVeDTO implements Serializable{
private int MaDatVe;
private int MaChuyen;
pri... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package GUI;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.prefs.Preferences;
import javax.swing.JOptionPane;
/**
*
* @author Anonymous
*/
public class ConfigGUI extends javax.swi... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package GUI;
import javax.swing.JOptionPane;
/**
*
* @author Anonymous
*/
public class DatVeGUI extends javax.swing.JFrame {
/**
* Creates new form DatVeGUI
*/
public DatVeGUI() {
initComp... | Java |
package MAIN;
import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;
import java.security.PublicKey;
import sun.security.x509.CertAndKeyGen;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.secur... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package MAIN;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.logging.Level;
import java.util.logging... | Java |
package MAIN;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.security.Key;
import java.util.Arrays;
import java.util.Random;
import javax.crypto.Cipher;
import javax.crypto.... | Java |
package MAIN;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigInteger;
import java.nio.charset.Charset;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package MAIN;
/**
*
* @author anhdung
*/
import DAO.Connect;
import DTO.PacketDTO;
import java.security.KeyPairGenerator;
import java.security.KeyPair;
import java.security.PrivateKey;
import java.secu... | Java |
package MAIN;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import static java.lang.String.format;
import java.security.MessageDigest;
import java... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DAO;
import static DAO.Connect.CloseConnect;
import static DAO.Connect.Connect;
import static DAO.Connect.receiveData;
import static DAO.Connect.sendData;
/**
*
* @author Anonymous
*/
public c... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DAO;
import static DAO.Connect.CloseConnect;
import static DAO.Connect.Connect;
import static DAO.Connect.receiveData;
import static DAO.Connect.sendData;
import java.util.ArrayList;
import java.util.... | Java |
package DAO;
import MAIN.GeneratePublicPrivateKeys;
import MAIN.usc_Certificate;
import static MAIN.usc_sessionkey_mac.Decrypt;
import static MAIN.usc_sessionkey_mac.Encrypt;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java... | Java |
package kr.ac.mlb.vo;
public class ContentVo {
private int id;
private String time;
private String content;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = ti... | Java |
package kr.ac.mlb.mvc;
import java.net.URLEncoder;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class HttpUtil {
public static void forward(HttpServletRequest request, HttpServletResponse response, String path ... | Java |
package kr.ac.mlb.mvc;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public abstract class Action {
public abstract void execute(HttpServletRequest request, HttpServletResponse response) throws I... | Java |
package kr.ac.mlb.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import k... | Java |
package kr.ac.mlb.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr.ac.mlb.action.MainAction;
... | Java |
package kr.ac.mlb.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServ... | Java |
package kr.ac.mlb.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr.ac.mlb.action.MainAction;
... | Java |
package kr.ac.mlb.dao;
import java.sql.*;
import java.io.*;
import java.util.*;
import kr.ac.mlb.vo.ContentVo;
public class ListDao {
//SOCCER 관심사 테이블에 데이터 추가
public void Soccer(String str,String str2)
{
Connection conn = null;
Statement stmt= null;
String dburl = "jdbc:mysql://local... | Java |
package kr.ac.mlb.action;
import java.sql.Statement;
import java.util.List;
//import javax.swing.text.AbstractDocument.Content;
import kr.ac.mlb.dao.ListDao;
import kr.ac.mlb.vo.ContentVo;
public class StringParser {
static int soccer = 0; // 관심사 축구
static int something = 0; // 관심사 기타
String sql;
... | Java |
package kr.ac.mlb.action;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr.ac.mlb.dao.ListDao;
import kr.ac.mlb.mvc.Action;
import kr.ac.mlb.mvc.HttpUtil;
import... | Java |
package kr.ac.mlb.action;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr.ac.mlb.dao.ListDao;
import kr.ac.mlb.mvc.Action;
import kr.ac.mlb.mvc.HttpUtil;
import... | Java |
package kr.ac.mlb.action;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr.ac.mlb.dao.ListDao;
import kr.ac.mlb.mvc.Action;... | Java |
package ac.kr.ml.vo;
public class ReplyVo {
private int re_id;
private int countent_id;
private String commend;
public int getRe_id() {
return re_id;
}
public void setRe_id(int re_id) {
this.re_id = re_id;
}
public int getCountent_id() {
return countent_id;
}
public void setCountent_i... | Java |
package ac.kr.ml.vo;
public class ContentVo {
private int con_id;
private String time;
private String content;
private int good;
private int bad;
private int reply_cont;
//addressinfo
private int empID;
private int deptID;
private String deptName;
private String posName;
private String ... | Java |
package kr.ac.ml.mvc;
import java.net.URLEncoder;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class HttpUtil {
public static void forward(HttpServletRequest request, HttpServletResponse response, String path )... | Java |
package kr.ac.ml.mvc;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public abstract class Action {
public abstract void execute(HttpServletRequest request, HttpServletResponse response) throws IO... | Java |
package kr.ac.ml.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.ac.ml.mvc.Action;
public c... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.JSONVa... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.... | Java |
package ac.kr.ml.vo;
public class ReplyVo {
private int re_id;
private int countent_id;
private String commend;
public int getRe_id() {
return re_id;
}
public void setRe_id(int re_id) {
this.re_id = re_id;
}
public int getCountent_id() {
return countent_id;
}
public void setCountent_i... | Java |
package ac.kr.ml.vo;
public class ContentVo {
private int con_id;
private String time;
private String content;
private int good;
private int bad;
private int reply_cont;
//addressinfo
private int empID;
private int deptID;
private String deptName;
private String posName;
private String us... | Java |
package ac.kr.ml.dao;
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import ac.kr.ml.vo.ContentVo;
public class ListDao {
public void insert(ContentVo... | Java |
package kr.ac.ml.mvc;
import java.net.URLEncoder;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class HttpUtil {
public static void forward(HttpServletRequest request, HttpServletResponse response, String path )... | Java |
package kr.ac.ml.mvc;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public abstract class Action {
public abstract void execute(HttpServletRequest request, HttpServletResponse response) throws IO... | Java |
package kr.ac.ml.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.ac.ml.mvc.Action;
public c... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpS... | Java |
package ac.kr.ml.vo;
public class ReplyVo {
private int re_id;
private int countent_id;
private String commend;
public int getRe_id() {
return re_id;
}
public void setRe_id(int re_id) {
this.re_id = re_id;
}
public int getCountent_id() {
return countent_id;
}
public void setCountent_i... | Java |
package ac.kr.ml.vo;
public class ContentVo {
private int con_id;
private String time;
private String content;
private int good;
private int bad;
private int reply_cont;
//addressinfo
private int empID;
private int deptID;
private String deptName;
private String posName;
private String us... | Java |
package kr.ac.ml.mvc;
import java.net.URLEncoder;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class HttpUtil {
public static void forward(HttpServletRequest request, HttpServletResponse response, String path )... | Java |
package kr.ac.ml.mvc;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public abstract class Action {
public abstract void execute(HttpServletRequest request, HttpServletResponse response) throws IO... | Java |
package kr.ac.ml.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import or... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.JSONVa... | Java |
package kr.ac.ml.action;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.