Welcome To Snipplr
Everyone's Recent Java Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
How to access the build number in the WAR file (generated by the Maven build number plugin) from Java.
0
744
posted 14 years ago by ff1959
A Swing ActionListener that opens a JFileChooser and returns the selected file.
1
1068
posted 15 years ago by liqweed
This snippet shows how to get access to the underlying log4j logger when using apache commons logging.
0
639
posted 15 years ago by ff1959
Simple way to configure the JVM to use the proxy in the network
1
735
posted 15 years ago by neozilon
Save/Load or.. Write/Read or.. Store/Retrieve Private Key/Public Key to/from disk/file :D
0
11147
posted 15 years ago by geekiuscaesar
*save as proxy.jsp and put it in your servlet container
*consider using other methods to circumvent XSS: JSONP, dojox.io.xhrWindowNamePlugin, etc.
1
1274
posted 15 years ago by stoyan
Rather than hard-coding values shared between classes/methods/servlets, it's good to use content params in web.xml.
0
756
posted 15 years ago by sunkist
This requires the user to enter his/her google gmail information but still useful if you can't use the normal Email/Gmail apps via their intents.
1
3767
posted 15 years ago by abwaters
К Ñтому моменту у Ð²Ð°Ñ ÑƒÐ¶Ðµ должно быть доÑтаточно знаний, чтобы Ñериализовать объект. Ðо как работает Ñтот механизм? Ðлгоритм Ñериализаци...
0
599
posted 15 years ago by beresovskiy
i love those ternary expressions, they really make things clear, don't they? found in org.eclipse.jface.action.Action
0
483
posted 15 years ago by guetux