background preloader

Java

Facebook Twitter

JSP - Standard Tag Library (JSTL) Tutorial. The JavaServer Pages Standard Tag Library (JSTL) is a collection of useful JSP tags which encapsulates core functionality common to many JSP applications.

JSP - Standard Tag Library (JSTL) Tutorial

JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and SQL tags. It also provides a framework for integrating existing custom tags with JSTL tags. The JSTL tags can be classified, according to their functions, into following JSTL tag library groups that can be used when creating a JSP page: Define el diseño de tus APIs con Blueprint, RAML o Swagger. Muchas veces desbordados por las necesidades (urgentes) exponemos componentes internos de nuestras aplicaciones en servicios REST públicos.

Define el diseño de tus APIs con Blueprint, RAML o Swagger

ZK - Small Talks/2012/March/Securing ZK Applications With Apache Shiro - Documentation. From Documentation In this smalltalk I will introduce how you can secure your ZK applications using Apache Shiro, a Java security framework.

ZK - Small Talks/2012/March/Securing ZK Applications With Apache Shiro - Documentation

Apache shiro is an easy-to-use Java security framework that provides security features such as authentication, authorization, cryptography, session management and so on. It is a comprehensive application security framework and especially useful for securing your web applications based on simple URL pattern matching and filter chain definitions. You can add Apache Shiro framework support to your ZK applications by either downloading the binary files from Shiro project download section and placing the jar files in your WEB-INF/lib folder, or, if you are using Maven, just add dependencies to your project pom.xml file as shown below; You also need to enable Shiro security filter in web.xml for it to auto register security filter configurations.

SHA512 Hash in Java. For one of my projects recently, I got a chance to look into SHA512 Hashing in Java.

SHA512 Hash in Java

The purpose of Hashing is to take any arbitrary input and produce a fix length output string. The Hashing is mainly done to ensure that the data has not been tampered with during its transmission. Also, Hash is one way function, that is, it is not possible to go from the output to the input. Hashing in Java. Struts 2 download file example. A Struts 2 example to show the use of custom result type to allow user to download file. 1.

Struts 2 download file example

Action In Action class, declared an InputStream data type and its getter method. JSP - Exception Handling. When you are writing JSP code, a programmer may leave a coding errors which can occur at any part of the code.

JSP - Exception Handling

The Most Common Java Keytool Keystore Commands. Java Keytool is a key and certificate management utility.

The Most Common Java Keytool Keystore Commands

It allows users to manage their own public/private key pairs and certificates. It also allows users to cache certificates. Java Keytool stores the keys and certificates in what is called a keystore. By default the Java keystore is implemented as a file. How to put a List from Java to a Report. Posted on July 22, 2010 at 6:02am Hi,

How to put a List from Java to a Report

Enviar lista a Jasper Report desde Java. Installing Apache Hadoop - Hadoop: The Definitive Guide. By Tom White At the time of this writing, Git is (seemingly) not installed by default on any GNU/Linux distribution or any other operating system.

Installing Apache Hadoop - Hadoop: The Definitive Guide

So, before you can use Git, you must install it. The steps to install Git depend greatly on the vendor and version of your operating system. This chapter describes how to install Git on Linux and Microsoft Windows and within Cygwin. It’s easy to install Hadoop on a single machine to try it out. In this appendix, we cover how to install Hadoop Core, HDFS, and MapReduce. StrutsFileDownload - Struts Wiki. A new DownloadAction was added in Struts 1.2.6 (see the JavaDoc).

StrutsFileDownload - Struts Wiki

This page is to show how to use it and has the following structure: FrankZ: Here is the sample webapp... downloadapp.zip Please note that this is my first ever attempt at editing a Wiki entry, so if I screwed anything up, I apologize in advance! Lastly, I skimmed through the content of this entry and didn't see anything blatantly wrong. I will try and proof it more thoroughly as time allows, but for now, in addition to the sample app, it should get anyone going in the right direction. niallp: Since I haven't actually used this class myself, I'm hoping that Martin, Frank or anyone else involved in the discussion/creation of this would take a look here to see if its OK.

StrutsFileDownload - Struts Wiki. Exceptions: Java / JSP : Simple image cropping example. In this article we will see how to crop an image in Java. You are in this page then u might surely know what exactly the Image cropping is, it is nothing but removal of the outer parts of an image to improve framing, to change aspect ratio etc. Image cropping can be implemented easily using Java. First lets see the basic example of image cropping. In the below code we have used getSubimage() function of BufferedImage to achive image cropping feature. No need to add any Jar file directly you can run below code and see the output.

Jquery - Croping image using jcrop and java. 5 steps to speed up your eclipse as a super fast IDE. Follow these steps to speed up your eclipse as a super fast IDE , it works for 32 & 64 bit version eclipse/jdk on my windows 7 x64. 1.Disable antivirus software, or add your jdk & eclipse & workspace & other related folder to white list in your antivirus software. 2.Disable unecessary validations and startup action in eclipse reference. For validations: on eclipse menu Windows -> Preferences -> Validation, click “Disable All”, and then select the validator which you need. I selected “Classpath Dependency Validator” only. For startup action: on eclipse menu Windows -> Preferences, type “startup”, select “Startup and Shutdown”, untick the options you don’t need. 4.Create a ram disk(virtual disk) on memory, and put your jdk on the ram disk.

Then set the ImDisk driver to auto-load at Command Prompt with administrative privileges (for example right-click, start as Administrator), type: sc config imdisk start= auto net start imdisk then you should format the ram disk manually. Oracle Radio. Java - Using GSON to parse a JSON array. JSONLint - The JSON Validator. Cómo leer y escribir ficheros JSON en Java » Blog OpenAlfa. JMeter for testing RESTFul web services by posting JSON data and how to use BeanShell. We looked at JMeter tutorial with detailed steps in an earlier tutorial. Tutoriales de Programacion Java: Struts 2 - Parte 5: Tipos de Results. Cada vez que un Action termina su ejecución, se muestra un resultado al usuario.

¿Qué es Java Mission Control? Leía ayer en JavaHispano sobre esta interesante herramienta que se distribuye por fin en la Java 7 u40 con la HotSpot JVM. Java - How to iterate request attribute in struts 2. Getting Started with Intalio. This document describes how to install and configure Intalio|BPMS Server. Note that Intalio|BPMS Server embeds Intalio|BPMS Workflow runtime components and no additional installation is required for Intalio|BPMS Workflow.

Prerequisite The Intalio|BPMS Server has the following requirements: Operating system: Microsoft Windows XP or Microsoft Windows 2000 or Microsoft Windows 2003 Server or Linux or Mac OS X Memory: a minimum of 512Mb of RAM available for applications Disk space: a minimum of 200 MB of disk space lastest JDK 1.5 or 1.6. Www.javahispano.org/storage/documentacion/Crear_Cliente_SOAP_Java_v2.pdf. Tutoriales de Programacion Java. Servicios REST (@FormParam,@PathParam) - Arquitectura Java. JAX-RS Servicios RESTFull en Java - Arquitectura Java. Vamos a construir un servicio REST utilizando los estandares de JAX-RS . Para ello lo primero que tenemos que hacer es comenzar a conocer las distintas anotaciones que el estandar define. @GET :Esta anotación marca un método y define una operación GET .Es similar a cuando realizamos una petición HTTP GET y solo debe usarse en el caso que de queramos leer información .Nunca a la hora de escribir o modificar el estado del recurso al que estemos accediendo.

Play framework - Home. Pruebas funcionales de servicios web con soapUI. Examples. <html><body><h1>renderSnake it</h1></body></html> Full Source By writing the Javascript source using write. Genbeta Dev. TheServerSide.com: your Java Community discussing server side development. Herramientas imprescindibles para un desarrollador de Java. Voy a hablar de las herramientas que considero imprescindibles para un desarrollador Java, en concreto para desarrollo J2EE. Puede que alguna se pueda obviar, como por ejemplo, Maven, pero la verdad es que yo no puedo vivir sin él. No incluyo en la lista la maquina virtual, es obvio que sin eso no puedes hacer nada: Lo primero es un IDE. Yo uso el Eclipse, que es el mas extendido, es opensource y es el que mas plugins tiene. Java Tips, Hacks, Updates - Architect's Diary. Strings in switch statements In the JDK 7 release, you can use a String object in the expression of a switch statement: public String getTypeOfDayWithSwitchStatement(String dayOfWeekArg) { String typeOfDay; switch (dayOfWeekArg) {

Desarroladores Android, Argentina.