text
stringlengths
3
1.18M
package th.co.yellowpages.javame; import java.io.IOException; import java.io.InputStream; import java.util.Vector; import javax.microedition.lcdui.Alert; import javax.microedition.lcdui.AlertType; import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandL...
package th.co.yellowpages.javame; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Date; public class YPRecord { public static String TYPE_WEB = "0"; public static String TYPE_TEL...
package th.co.yellowpages.javame; import java.io.IOException; import java.util.Date; import javax.microedition.io.ConnectionNotFoundException; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import javax.microedition.lcdui.Displayable; import javax.microedition.lcdui.Form; im...
package th.co.yellowpages.javame; import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import javax.microedition.lcdui.Displayable; import javax.microedition.lcdui.Graphics; import javax.microedition.lcdui.Image; public class YPQRCodeShowCan...
//#condition polish.api.mmapi package th.co.yellowpages.javame; /* * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
package th.co.yellowpages.javame; /* * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
package th.co.yellowpages.javame; /* * Copyright 2009 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
package th.co.yellowpages.javame; /* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
//#condition polish.api.mmapi package th.co.yellowpages.javame; /* * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
package th.co.yellowpages.javame; import javax.microedition.io.ConnectionNotFoundException; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import javax.microedition.lcdui.Displayable; import javax.microedition.lcdui.Form; import javax.microedition.lcdui.Graphics; import javax...
package th.co.yellowpages.javame; /* * Copyright 2009 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * @author Rafael G Aranda * @author César Andrés Sánchez */ public class main { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author cesar */ public class editorTexto { }
/* * AgentesApp.java */ package agentes; import org.jdesktop.application.Application; import org.jdesktop.application.SingleFrameApplication; /** * The main class of the application. */ public class AgentesApp extends SingleFrameApplication { /** * At startup create and show the main frame of the appli...
/* * AgentesAboutBox.java */ package agentes; import org.jdesktop.application.Action; public class AgentesAboutBox extends javax.swing.JDialog { public AgentesAboutBox(java.awt.Frame parent) { super(parent); initComponents(); getRootPane().setDefaultButton(closeButton); } @Act...
/* * AgentesView.java */ package agentes; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.application.FrameView; import org.jdesktop.application.TaskMonitor; import java.awt.event.ActionEvent; import jav...
package Matrices; import main.Errores; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 ...
package Matrices; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 * (a...
package Matrices; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 * (a...
package clases; import main.Errores; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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, eit...
package clases; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 ...
package clases; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 ...
package clases; import clases.Vectores.Vectores; import main.Errores; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 * ...
package clases; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 ...
package clases; import main.Errores; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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...
package clases; import java.util.ArrayList; import java.util.Enumeration; import java.util.Hashtable; import main.Errores; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * This program is free software: you can redistribute it and/or modify * it under the terms of...
package clases; import main.Errores; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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, eit...
package clases; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 ...
package clases.Vectores; import clases.*; import java.util.Enumeration; import java.util.Hashtable; import main.Errores; import main.Global; import org.w3c.dom.*; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * This program is free software: you can redistribute it and/or modify * i...
package clases.Vectores; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 ...
package clases.Vectores; import main.Global; import org.w3c.dom.*; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 Found...
package clases; import java.util.Enumeration; import java.util.Hashtable; import main.Errores; import main.Global; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
package main; import clases.*; import clases.Vectores.Funcion; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Hashtable; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * This program is free software: you c...
package main; import Matrices.Matriz; import Matrices.Permutaciones; import Matrices.Vector; import clases.*; import clases.Vectores.ElementoVector; import clases.Vectores.Vectores; import java.io.IOException; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * This program is free softwar...
package main; import clases.Vectores.ElementoVector; import clases.Vectores.Vectores; import clases.*; import clases.Vectores.Funcion; import java.io.File; import org.w3c.dom.*; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; /** * 4g3nt * Copyright (C) 2008 Carlos Mol...
package main; import java.util.ArrayList; /** * 4g3nt * Copyright (C) 2008 Carlos Molinero y César Andrés * * 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 o...
/** Automatically generated file. DO NOT MODIFY */ package com.ircgn.inl.forn6geotracking; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.ircgn.inl.forn6geotracking; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class GeoTrack extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity...
package info.inaki.struts2; import java.util.Date; public class Venta { private Long id; private String nombre; private Date fecha; private Long idtrabajador; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getNombre() { return nombre; ...
package info.inaki.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class VentaDAO { @Sessio...
package info.inaki.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriv...
package info.inaki.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class TrabajadorDAO { @S...
package info.inaki.struts2; import java.util.Date; public class Trabajador { private Long id; private String nombre; private Date fechanacimiento; private String telefono; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getNombre() { re...
package info.inaki.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriv...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class DelegacionDAO { ...
package info.pello.struts2; import java.util.Set; public class Rol { private Long id; private String nombre; private String descripcion; private Set<Usuario> usuarios; public Rol () { } public Rol (Long id, String nombre, String descripcion) { this.id = id; ...
package info.pello.struts2; public class Registro { private Long id; private String nombre; private String descripcion; private Long fecha; private Long idusuario; private Usuario usuario; public Registro(Long id, String nombre, String descripcion, Long fecha, Long idusuario, Usuario usuari...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class ProductoDAO { @...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class ProvinciaDAO { ...
package info.pello.struts2; import java.util.Set; public class Stock { private Long id; private Long estanteria; private String descripcion; private Long cantidad; private Set<Producto> productos; public Stock () { } public Stock (Long id,Long estanteria, Long canti...
package info.pello.struts2; import java.util.Set; public class Departamento { private Long id; private String nombre; private String descripcion; private Set<Trabajador> Trabajador; public Departamento () { } public Departamento (Long id, String nombre, String descrip...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class UsuarioDAO { @S...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class RolDAO { @Sessi...
package info.pello.struts2; import java.util.Set; import com.opensymphony.xwork2.ActionSupport; public class Provincia extends ActionSupport{ private Long id; private String nombre; private String pais; private Set<Ciudad> ciudades; public Provincia () { } public P...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class RegistroDAO { @...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class JugadorDAO { @S...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class StockDAO { @Ses...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class CiudadDAO { @Se...
package info.pello.struts2; public class Ciudad { private Long id; private String nombre; private int cpostal; private Long idciudad; private Delegacion delegacion; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getNombre(...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.Date; public class Trabajador { private Long id; private String nombre; private Date fechanac; private String telefono; private Long idDepartamento; private Departamento departamento; public Long getId() { return id; } public void se...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class NominaDAO { @Se...
package info.pello.struts2; import java.util.Set; public class Delegacion { private Long id; private String nombre; private String descripcion; private String direccion; private Set<Jugador> ciudades; public Delegacion () { } public Delegacion (Long id, String no...
package info.pello.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDr...
package info.pello.struts2; public class Producto { private Long id; private String nombre; private String descripcion; private Float pvp; private Long idtipoproducto; private Stock stock; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public S...
package info.pello.struts2; public class Usuario { private Long id; private String login; private String password; private String nombre; private String email; private Long idrol; private Rol rol; public Long getId() { return id; } public void setId(Long id) { this.id = id; ...
package info.pello.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class EquipoDAO { @Se...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package unai; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibern...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package unai; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibern...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package unai; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven; import java.util.ArrayList; import java.util.List; import ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package unai; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven; import java.util.ArrayList; import java.util.List; import ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package POJOS; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; import java.util.List; import org.hiber...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package POJOS; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; /** * * @author John */ class TipoIncidenciaDAO { public TipoIncidenciaDAO() { } ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package POJOS; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven; import java.util.ArrayList; import java.util.List; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package POJOS; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven; import java.util.ArrayList; import java.util.List; import...
package adri.exam.struts; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriv...
package adri.exam.struts; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class ProveedorDAO { @Sess...
package adri.exam.struts; public class Proveedor { private Long id; private String nombre; private String direccion; private String telefono; private String email; private Long idciudad; /** * @return the id */ public Long getId() { return id; } /** * @param id the id to se...
package adri.exam.struts; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven...
package adri.exam.struts; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class CiudadDAO { @Session...
package adri.exam.struts; public class Ciudad { private Long id; private String nombre; private Long cpostal; private Long idprovincia; /** * @return the id */ public Long getId() { return id; } /** * @param id the id to set */ public void setId(Long id) { this.id = id;...
package oscar.examen.Structs; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.Model...
package oscar.examen.Structs; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class TipoProductoDAO { ...
package oscar.examen.Structs; import java.util.Set; public class TipoProducto { private Long id; private String nombre; /** * @return the id */ public Long getId() { return id; } /** * @param id the id to set */ public void setId(Long id) { this.id = id; } /** * @return ...
package examen.miguel.remirez.struts2; public class Pais { private Long id; private String nombre; private String abreviado; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getNombre() { return nombre; } public void setNombre(String...
package examen.miguel.remirez.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class DivisaD...
package examen.miguel.remirez.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork...
package examen.miguel.remirez.struts2; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget; import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget; public class PaisDAO { ...
package examen.miguel.remirez.struts2; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork...
package examen.miguel.remirez.struts2; public class Divisa { private Long id; private String nombre; private String abreviatura; private Float cambioeuro; private Long idpais; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getNombre() {...
import java.io.File; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.helpers.DefaultHandler; i...