I have a HTML Page at a Web Publisher whose content i want to load in a JSP inside my web application. I have tried JSP:Include action and Include directive but both of them seem to take only relative path. I cannot have a local copy of that html file because that is subject to changes in future and i need to include it dynamically. How to include a file using an absolute path?
How to Include a HTML file outside my web-application into a JSP inside my application
1.2k Views Asked by Nani At
1
There are 1 best solutions below
Related Questions in JSP
- Unable to compile the class for JSP in tomcat 8.5.95
- Liberty doesn't compile JSP
- Why ${message} appear as it is in View and not the real message passed in Spring MVC controller
- How can i connect my 4 objects in my jsp file so it can run perfectly
- An error occurred: Cannot run program "C:\Users\ford\AppData\Local\Programs\Python\Python311\python.exe": CreateProcess error=5, Access is denied
- Issue with dropdown menu in the jsp page(cannot import the choice in the db)
- java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.jsp.ImportTab_jsp
- javascript function changes when used with jsp
- Database ConnectionError
- Where should i place my index.jsp and index.jsp1 for my app to run in tomcat app
- How to fix checkmarx reflected XSS attack in JSP page?
- JSP: "object cannot be resolved to a variable" when used in nested tag
- How to use JSTL in JSP: jakarta.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
- How to setup jsp Pages on a Webserver
- File uploaded from jsp is not making it to servlet
Related Questions in JSPINCLUDE
- What is the right syntax for jsp:include?
- How to pass all URL parameters through a <jsp:include> tag?
- Confusion related with <jsp:include> and <@ include>? Dynamic include and "friendly Containers"
- Is there a way to make JSP include action parameters optional
- Unable to include a jsp file from a location outside the application
- Eclipse - How to disable / get rid of bogus "fragment not found" errors
- Highlighting selected tab in nav header, JSP
- jsp include file without line breaks
- when to use jsp include and page directive include
- Jasper exception occurring while trying to include a jsp page with dynamic URL
- JSP include - compilation error cannot find symbol
- Can't get jstl variable in inclued jsp
- Eclipse: jsp:include action with servlet
- Webpage jsp:includes header but doesn't use linked stylesheet
- jsp:include vs %@include for %@taglib functionality
Related Questions in PAGE-DIRECTIVES
- Setting Content-Type and Status-Code in JSP
- JSP Page Directive
- How to use page directive in jsp using netbeans
- Create a custom ASP.NET (not MVC) directive possible?
- Page directive: can't have multiple occurrences of language error on tomcat 4
- can we extend multiple classes in jsp page using export attribute
- IE Conditional Statement No Longer Working In IE 11 via Developer Tools
- Page Directives Inherits
- Why do I need to modify buffer and autoflush attributes in a JSP?
- How to force execution of value assignment in blocks of type <%=value%>
- How to Include a HTML file outside my web-application into a JSP inside my application
- Converting CodeFile to CodeBehind
- isErrorPage="false" is ignored by container
- What's the equivalent of C++'s "#ifdef #endif" macro in JSP?
- Set StyleSheetTheme in @Page directive in ASP.NET
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?
The JSTL c:import taglib allows you to import a file from any url, http:// or file://. See http://docs.oracle.com/javaee/5/jstl/1.1/docs/tlddocs/c/import.html