Coder Eye

Software development and photography related issues

Thursday, May 21, 2009

Directly download a file by pressing a link using Java Servlet

›
There are times in which we would like to directly download a resource by pressing on a link on a page. The meaning of directly is: The b...
Monday, May 18, 2009

JSF input - empty value converted to Zero

›
When running a JSF application under Tomcat, you might encounter a weird case in which an empty value of a field bidden with numeric propert...
3 comments:
Sunday, May 17, 2009

Recursivly Zipping a directory in Java – Extending capabilities

›
In this post: Recursivly Zipping directory in Java we saw how we can use Java to easily zip all the contents of a directory including its s...
Friday, May 15, 2009

Recursivly Zipping a directory in Java

›
There are times we need to package and compress group of files. Java has out-of-the-box support for Zip compression algorithm. By taking adv...
Wednesday, May 13, 2009

Getting Class real path in Java

›
Getting web application real path is pretty straight forward: getServletContext().getRealPath(" / ") This code returns the physi...
1 comment:
‹
›
Home
View web version

About Me

Guy Bashan
View my complete profile
Powered by Blogger.