Home  >  Article  >  Web Front-end  >  坐等高手……急!html导入jsp问题!_html/css_WEB-ITnose

坐等高手……急!html导入jsp问题!_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:22812browse

 html页面 想导入 一个jsp的header文件,用不了include  但是也不能用


回复讨论(解决方案)

JSP的文件最好在JSP层级去处理,就是在后台里合成到要返回前台的HTML中。
实在特殊必要的话,你可以在HTML里用AJAX去请求JSP,将返回的HTML结果写回HTML里。

用ajax请求的话,不能请求页面的js……内容有 但是没有js了!

是用不了include还是不让用include?

把html页面改成jsp页面不就行了...

…………首先 特定了!页面是html 引入文件jsp!
3楼的兄弟?html 怎么使用include 


也不能用iframe和object(原因 看不到源码)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn