Archives

Archive for November, 2008

Struts2.. a beginning.

( Java )

I never had an opportunity to really dive deep and learn Struts2. I found a good tutorial for beginners who want to start out fresh, check out the Simple Setup tutorial.
- Struts.xml must reside with your Java class files (or in your classpath)
- To make action calls your URL will point to *.action
- When using [...]

Java, where is your CopyFile operation?

( Java )

Anyone else notice Java doesn’t offer a CopyFile operation? You literally have to open two file pipes - one as the input, one as the output and copy the file manually.
It actually looks like Java 7 will finally address this lack of functionality… check out the article on java.nio.file on java.net.