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.
How do I get NetBeans to recognise SHTML files?
471 Views Asked by lejdale At
1
There are 1 best solutions below
Related Questions in NETBEANS
- export function with netbeans from mysql to excel
- issue in my if statement to make comparison in my java program
- How do I change code template triggering behavior in Netbeans 8.0?
- How to get the last integer ID you query in MySQL
- Opening jar file with external library
- How to access a private method
- CoffeeScript For NetBeans 8.0 Plugin: Set Target Folder For Compiles JS
- error with google app engine deploy
- Why won't my JSF app deploy to GlassFish?
- NetBeans commenting
- Store Strings longer than 255 in a database in Netbeans
- How to set jcombo box to what i want
- Wildfly 9.0.0 and Netbeans 8.0.2
- Netbeans unexpected return value error
- Relationship between gcc, g++, cygwin, and wingw?
Related Questions in SSI
- Bootstrap navbar vertical not horizontal
- Is it possible to use SSI and Apache to make a cms?
- Include file to CGI output using Server Side Includes
- Apache 2.4+ Conditional SSI Syntax
- Server Side Include (SSI) - Basic
- I can't get header to appear using SSI with html
- Repeated AJAX requests slow browser
- Server Side Includes putting php in html
- SSI parser written in PHP?
- How can I redirect using a PHP script called from an SSI?
- Using server side includes or ssi ,AWS S3
- #include file inserts in body not head
- Using Django's built-in ssi template tag, causing 500 error
- .Net Core Razor Pages - Server Side Include
- NGINX SSI with Symfony and PHP-FPM
Related Questions in SHTML
- I can't get header to appear using SSI with html
- Python Requests doesn't get the full content from a shtml page
- Prevent Redirects for a python request to a .shtml link
- How to display a common html\javascript suffix with tabs
- Configuration of SSI in IIS 7
- HTML vs SHTML vs PHTML
- Server-side include: An image link breaks within the included contents
- Execute perl from SHTML just includes the script, not eexecuted
- Lighttpd SSI: Setting variable to value of HTTP_ACCEPT
- .shtml include not working
- server side include not working for nested calls
- exec used but not allowed while running my script
- Rendering of PHP include in SHTML file
- If I have one nav_bar.html file that is included on other pages, how do I show which menu item is active?
- I have PHP code that needs to be referenced in every single shtml page, is the below possible?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Meant to answer this way back, but I didn't have XAMPP running! Schoolboy(girl) error! Thanks for the help guys.