• Post Reply Bookmark Topic Watch Topic
  • New Topic

Directive : include file

 
kedar parundekar
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we include image file into jsp pages with the help of Directive include?
If yes, then which content type required?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not include binary data with JSPs.
Use a regular HTML image tag and the browser will make a new request for your image (just like with static HTML files).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!