• Post Reply Bookmark Topic Watch Topic
  • New Topic

html include  RSS feed

 
Sunil K Bansal
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys
i m using following html include tag in my jsp/html pages
<!--#include file="./includes/header.txt" -->
but this is not working.
i m using tomcat 4
is this the problem with tomcat? how to correct it?
as my html pages are working fine on IIS with this tag.
kindly guide me
thanx in advance
Bansal
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sunil
I think that you have to use
<%@include file="/includes/header.txt" %>
and not
<!--#include file="./includes/header.txt" -->
Note that I have removed the dot. Hope this works.
[ July 09, 2002: Message edited by: Rahul Mahindrakar ]
 
Sunil K Bansal
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
suppose i dont have/need any jsp coding in my pages.
means i have only html pages then
why it is (include) not working in Tomcat.
as it is wrking in IIS
i want to know is there any problem with Tomact
thanx
Bansal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!