Monthly Archives: octubre, 2010

How to get client ip in a Java Servlet

octubre 29th, 2010 Posted by java, servlet 0 thoughts on “How to get client ip in a Java Servlet”

req.getRemoteAddr();
req.getRemoteHost();

How to install Subversion on Eclipse in Snow Leopard

octubre 26th, 2010 Posted by eclipse 0 thoughts on “How to install Subversion on Eclipse in Snow Leopard”

You must install Tigris Subversion, on Eclipse: Help -> Software Updates -> http://subclipse.tigris.org/update_1.6.x

And you need Java HL, to get this you can install Subversion binaries from http://www.open.collab.net/downloads/community/

 Restart Eclipse and voilá.

How to set default encoding in Eclipse

octubre 23rd, 2010 Posted by eclipse 0 thoughts on “How to set default encoding in Eclipse”

Window -> Preferences -> Workspace -> Text file encoding

How to know if i am working on development or production in appengine?

octubre 21st, 2010 Posted by appengine 0 thoughts on “How to know if i am working on development or production in appengine?”

private boolean isDevelopment() {
        return ( SystemProperty.environment.value() == SystemProperty.Environment.Value.Development );

}

How to capture GET parameters in GWT

octubre 14th, 2010 Posted by gwt, java 0 thoughts on “How to capture GET parameters in GWT”

String param = Window.Location.getParameter(“param”);

Design patterns

octubre 12th, 2010 Posted by Sin categoría 0 thoughts on “Design patterns”

http://sourcemaking.com/design_patterns

Google’s big table whitepaper

octubre 12th, 2010 Posted by non relational database 0 thoughts on “Google’s big table whitepaper”

here

Guy Harrison on cloud computing and next-generation databases

octubre 12th, 2010 Posted by non relational database 0 thoughts on “Guy Harrison on cloud computing and next-generation databases”

Guy Harrison on cloud computing and next-generation databases here

NumberFormat in GWT

octubre 6th, 2010 Posted by gwt, java 0 thoughts on “NumberFormat in GWT”

String vat = NumberFormat.getFormat(“0.00”).format(country.getVAT());

I’m trying to learn english, if you find some mistakes in my redaction, please make a comment with my error

How to create a session in Java

octubre 4th, 2010 Posted by java 0 thoughts on “How to create a session in Java”

To create a session attribute:

HttpSession sesion = req.getSession(true);
sesion.setAttribute(“allowed”, “YES”);

To get a session parameter:

HttpSession sesion = req.getSession(true);
String allowed = (String) sesion.getAttribute(“allowed”);

I’m trying to learn english, if you find some mistakes in my redaction, please make a comment with my error

Copyright © 2018 programadorfreelanceargentina.com

Programador Freelance Argentina