在一个JSP页面中怎么用include标签包含另一个JSP页面?
lunbopicture.jsp里面是一个轮播图的JSP页面,lunbopicture.jsp路径为:/ApartmentSystem/WebContent/web/ap...
lunbopicture.jsp里面是一个轮播图的JSP页面,
lunbopicture.jsp路径为:
/ApartmentSystem/WebContent/web/apartmentAdmin/folder/lunbo/lunbopicture.jsp
Index.jsp的路径为:
/ApartmentSystem/WebContent/web/apartmentAdmin/jsp/index.jsp
我想在Index.jsp页面中包含lunbopicture.jsp:
<jsp:include page="../folder/lunbo/lunbopicture.jsp" flush="true"></jsp:include>
但是在Index.jsp中并没有显示出轮播图的效果:
跪求大神解答!! 展开
lunbopicture.jsp路径为:
/ApartmentSystem/WebContent/web/apartmentAdmin/folder/lunbo/lunbopicture.jsp
Index.jsp的路径为:
/ApartmentSystem/WebContent/web/apartmentAdmin/jsp/index.jsp
我想在Index.jsp页面中包含lunbopicture.jsp:
<jsp:include page="../folder/lunbo/lunbopicture.jsp" flush="true"></jsp:include>
但是在Index.jsp中并没有显示出轮播图的效果:
跪求大神解答!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询