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
- entity classes are not showing when trying to create new session beans for entity classes in netbeans 9.0
- Cant connect to any github repository from my netbeans 20
- Set Netbeans Console to English
- How can I retrieves divs into a dynamic page in Java?
- how to create an sqldump file for backup in netbeans(java)
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0
- ERROR "java.net.URL.toExternalForm()" because "location" is null"
- NetBeans snap - Java configuration
- How can one set java.base/java.util=all-unnamed in Netbeans IDE
- Why my form glitch when I type someting to textfiled in java
- How do I fix Netbeans' invalid source release?
- Apache NetBeans 20: Apache Tomcat service doesn't stop when I try to stop it from the IDE
- I can't send attachment outside of NetBeans
- Does anyone know how to fix this error in Netbeans 19 to install JavaFX
- NetBeans: Unable to Create CUnit Tests - Grayed Out Menu Options
Related Questions in SSI
- Pico W HTTP webserver lwip ssi tags not being recognized by make fsdata script
- Repeated PKs in Dimension Table - SSIS
- Gibberish in MATLAB (SSI file), Command not showing (MAT file)
- Apache: How to decompress pre-compressed HTML using mod_deflate? (INFLATE not working as documented)
- Javascript 'undefined error' selecting elements in HTML loaded from a separate file
- SSI's work for .asp pages, but not for .html pages
- Why does this simple SSI not render the include?
- Cannot execute SSI with file_get_contents on Apache 2.4
- How to sanitize/disallow SSI directives in HTML files
- stm32h743 webserver how download text file from browser
- SSI timefmt suppress leading zero in the hour
- Nginx is not resolving SSIs in application/octet-stream type files from a server
- SSI variable used in an Include?
- How to create a custom VC type
- Aries-Cloudagen-Python 0.6.0 release: Verify Credential before storing it in wallet
Related Questions in SHTML
- How to use server side includes / SHTML?
- STM32 & lwIP - SHTML page not rendering - source code displayed instead
- Diffence between .SSHTML and .SHTML extension
- Server-side include: An image link breaks within the included contents
- Prevent Redirects for a python request to a .shtml link
- Lighttpd SSI: Setting variable to value of HTTP_ACCEPT
- Python Requests doesn't get the full content from a shtml page
- Subdomain with index.shtml as default page?
- Webpack + SSI rendering without full HTML compilation
- reCAPTCHA not loading properly in XHTML document
- Can Heroku websites read Server Side Includes
- How to add a hover on full div instead of SVG path?
- how to retrieve label from a HTML class in a table using Swift
- iOS apparently permanently caching web pages
- SHTML and DHTML - Should they be used, why aren't they?
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 # Hahtags
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.