一个jsp内嵌一个jsp有两种方法:
1.include指令: <%@ include file= "your.jsp "%> 2.include动作:< jsp:include page= "your.jsp " flush= "true "/> 或 < jsp:include page= "your.jsp " flush= "true "> < jsp:param name= "paramname " value= "how are you " /> < /jsp:include> include动作跟include指令最大的区别就是它是动态的指令,它是把包含的文件编译的结果插入当前工作位置,如果包含文件被改动了,它能判断包含文件已被改动,并对包含文件重新编译;而不是如指令那样是把包含文件插入当前再编译,包含文件被改动了却无法得知! 另外也可以使用iframe:<Iframe src= "bidContentGrads.jsp?package_sn=< %=request.getParameter( "package_sn ")%> " width= "100% " height= "100% " scroll= "auto " frameborder= "0 " name= "content " ></iframe>