File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@ include .....

 
Samith Nambiar
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
<%@ include file="header.html" %>
is it necessary that header.html should be present in the same directory as the jsp file?
i get an error when i use a context relative path
for example :
Context Name : demo
JSP directory : demo/web/jsp
HTML directory : demo/web/html
the following code gives me an error
<%@ include file="/demo/web/html/header.html" %>
why is this so?
thanks
/SAmith
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic