aspose file tools*
The moose likes Servlets and the fly likes Include file problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Include file problem" Watch "Include file problem" New topic
Author

Include file problem

Kelly So
Greenhorn

Joined: Mar 27, 2001
Posts: 20

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Include file problem