2013年9月13日星期五

JSP include sub-pages into the path parameter is not being given to how to write it ?



In a.jsp in <% @ include file = ".. / plugin / b.jsp"%> basePath in a.jsp defined, but in b. jsp, write
<img src="<%=basePath %>pages/plugin/btn-queding_2.jpg" />

Eclipse always have a red cross , how to solve it ?
------ Solution ---------------------------------------- ----
do not ignore it
------ Solution ------------------------ --------------------
long as they can run , Eclipse's tips can matter , is generally caused by some of the wording is not standardized .
------ For reference only -------------------------------------- -
is my expression is not clear or is it too simple
------ For reference only ---------------------------------------
upstairs said all right, but better get rid of the MyEclipse validation , so it will not show a red cross , much better

没有评论:

发表评论