• Post Reply Bookmark Topic Watch Topic
  • New Topic

include Directive  RSS feed

 
jignesh soni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<html>
<body>
Including page FirstJSP
<%@ include file:"FirstJSP.jsp" %>
</body>
</html>

while running this code, I get an exception saying "The attribute prefix file does not correspond to any imported tag library"

What does this mean and how to fix this code ?

Please reply
Jignesh
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@ include file:"FirstJSP.jsp" %>



Try:
<%@ include file="FirstJSP.jsp" %>
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!