File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Include file problem

 
Kelly So
Greenhorn
Posts: 20
  • 0
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic