I am using Netbeans and MySql server. I want to add JSP content into an HTML file. How can I include it?
Make the HTML file a JSP page, and use a JSP include (static or dynamic, depending on what you want, but you probably want a static include here):
<%@include file="theJspToInclude.jsp" %>
HTML files are static resources that are served as is, without any kind of interpretation, by the web container.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With