Search code examples
netbeansssishtml

How do I get NetBeans to recognise SHTML files?


I wan't to include a generic header and footer on my web pages. I don't know php yet and the server doesn't run java, jsp, servlets etc, so I've been told to use SSI, i.e. an include statement. In order for it to work I had to rename index.html to index.shtml and include < !--#include file="someFile.html" --> (no space before the ! just put it in as it wasn't showing up in question as it looks like a comment) This works perfect on the server, but my problem is netbeans does not include the header or footer when run in the format!! Does anyone know how to configure netbeans 8 to allow this format? Thanks.


Solution

  • Meant to answer this way back, but I didn't have XAMPP running! Schoolboy(girl) error! Thanks for the help guys.