You cannot scan using JSP, JSF, or, indeed any HTTP server-based technology, Java or otherwise. Presuming the scanner is attached to someone's desktop system, there's no support whatsoever in HTTP for scanners. Aside from the purely technical issues, taking control of remote hardware - whether it's scanners, printers, or disk drives is a major security risk. The simplest, but most annoying ...