<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";%>My JSP 'editorUpdate.jsp' starting page 编辑文章:
其中在文章中"<h2>sadfkj方的就是</h2>"为自定义的测试数据
${content}为实际后台传过来的值
"sadfkj方的就是
" ${content}
注意引入文件的位置,配置好后可以修改jsp,如图所示