JavaServer Pages (JSP) and JSTL - Ergent problem with the jsp file access in tomcat. HELP...
I use tomcat as my server, I have one JSP file located in :
webapps\abc\war\WEB-INF\jsp\index.jsp
You see my project name is abc, I want to access the index.jsp file, I define another jsp file in the path:webapps\abc callled outside.jsp. I want to use outside.jsp to invoke the index.jsp.
Inside outside.jsp it is :
<html>
<head>
<title>index</title>
</head>
<body>
<%@ include file="war/WEB-INF/jsp/index.jsp" %/>
</body>
</html>
When I open the browser, and access,http://localhost:8080/abc/outside.jsp , the content ofindex.jsp was shown as expect. But, all the link pages of the index.jsp can not shown (PS: the link pages is located in the same path as index.jsp, they are all jsp files). I guess the problem may be that the<%@ include file="war/WEB-INF/jsp/index.jsp" %/> inside outside.jsp include the index.jsp as a static file. Is there any method to make all the link pages of index.jsp can be shown when call from outside.jsp?HELP
Message was edited by:
Mellon
Message was edited by:
Mellon

