Quantcast
Channel: S. Nageswara Rao, Corporate Trainer – Way2Java
Viewing all articles
Browse latest Browse all 505

Servlets Made Clear: ServletContext.getResourceAsStream

$
0
0
Using the method getResourceAsStream(), a Servlet can use any file on the system (or Web application in WEB-INF folder) and load it. To load, the Sevlet container does not need a traditional class loader. This method returns an object of InputStream that refers the file passed as parameter. The InputStream (a byte stream) object can […]

Viewing all articles
Browse latest Browse all 505

Trending Articles