Access file inside WebContent from servlet
问题 I trying to access the html files inside the WebContent/alerts folder using its relative path from servlet. But i unable to access it using its relative path, Access the file inside WebContent from Servlet using relative path: protected Element getSummary(String value) throws IOException { Element element=null; Summary summary = Summary.valueOf(value); switch(summary) { case rtp_summary: element=parseDIV(new File("../../WebContent/alerts/rtp_bcklg_mail.html"),"rtp_summary"); break; case ffu