struts2 jaspers shows FileNotFoundException
问题 I am trying to integrate jasper with struts2 by using the following tutorials. But the jasper compiler not able to acess the file and my code is given below ServletContext context=ServletActionContext.getServletContext(); URL is = context.getResource("/jasper/our_jasper_template.jrxml"); String path=is.getPath(); String jasper = is.getPath().replace("our_jasper_template.jrxml", "our_compiled_template.jasper"); System.out.println(path); //here displays the path JasperCompileManager