Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Include file problem  RSS feed

Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I install the jrun in my linux server, and there is one apache htdocs directory and one jrun directory in my server. When I create a file called abc.shtm, I put it in the /htdocs/big5/abc.shtm. And after I create another file called index.jsp, I put it in /jrun/big5/index.jsp. In the index.jsp file, I include the /htdocs/big5/abc.shtm file in the index.jsp. The syntax for the include file is
<%@ include file = "/big5/abc.shtm" %>
But after I see it in internet, A error occur.
javax.servlet.ServletException: Parse Error in JSP page: The include directive on line 343 The JSP page null's depedency '1' could not be found.
I know that the system get confused for the big5 directory. It keen on asking the file in /jrun directory. But how can I want to insert the page in /htdocs/big5 directory?
Really appreciate for your help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!