关于jsp中 include file下的地址问题
我在jsp文件中有如下一句
<%@ include file = "../test.txt" %>
此jsp文件在webcontent下,然后我在此文件的父目录下有test.txt文件,而且在elipse下也没有说有问题,运行后:
type
Exception report
message
/NewFile.jsp (line: 11, column: 1) File "../test.txt" not found
description
The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /NewFile.jsp (line: 11, column: 1) File "../test.txt" not found
为什么会找不到呢?
麻烦大家帮忙解决下。。非常感谢。。