jsp页面中include一个页面:
<div class="mright" id="divright">
<jsp:include page="${ path }/question/right.do?typeid=0" />
</div>
然后需要通过JQuery动态传入typeid,获取相对应的页面:
var url = "/question/right.do?typeid="+typeid;
jQuery.get(url, function(result){
jQuery("#divright").html(result);
});