A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Joined: Nov 11, 2003
Oct 04, 2005 08:17:00
Could you please advice me whether can we include image using <%@include %> tag in jsp?
ie.,<%@include file="../images/image.jpg"%>.I tried ,but i could not.
But when I include that image in html file and after trying with this code ie.,<%@ include file="<filename>.html" %>(included image in html page using <img> tag.It works fine.
Pls clear this.
Joined: Dec 11, 2004
Oct 04, 2005 08:26:00
A simple HTML 'img' tag will suffice.
The browser will make a separate request for the image.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: include tag
write byte to file?
Editing html tags in a *.htm file
server side includes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014