Servlet

Working notes on Servlet: Configuration, Properties file, and Response.

Unknown author / Wikimedia CommonsPublic domain

Working notes on Servlet: Configuration, Properties file, and Response.

Working notes on Servlet: Configuration, Properties file, and Response.

Topics

Configuration

Configuration: private static List<String> listIp = Arrays.asList, private static List<String> listNoSecURI = Arrays., and private private static List<String> listNoSecDir =.

Properties file

InputStream is = this.getClass().getClassLoader().getResourceAsStream("/"+fileName);.

Response

Resp.setContentType("application/json");.

Updated: 2026 Aug 19