• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp:include is not working  RSS feed

 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

<jsp:include page="http://192.168.15.65:9906/tempFile/jsp/tempJsp.jsp" />

its giving exception like file specified is not found : "/http://192.168.15.65:9906/tempFile/jsp/tempJsp.jsp"

But if i type "http://192.168.15.65:9906/tempFile/jsp/tempJsp.jsp" in the browser directly its working fine

Regards,
Bhagavan
 
Chinmaya Chowdary
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Bhagavan, <jsp:include/> and <jsp:forward/> will include or forward the specified file within the server( within application context), it will not go outside the server. Try using <c:import url="..." /> of JSTL.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!