• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

html include

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Why is the word "abbreviation" so long? And this ad is so short?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic