This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Include file problem

 
Kelly So
Greenhorn
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.
Yours,
Kelly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic