Hello,
i create a HelloWorld portlet and now, i wish that my portlet display a simple picture. I propose following lines in my java class, but it doesn't work.... -.-
// picture on my HDD
writer.write(" ");
writer.write(" ");
writer.write("<img src=\"C:\\icon.jpg\" alt=\"icons\"> ");
// picture in the folder WebContent, this folder is the root folder of META-INF and WEB-INF
writer.write(" ");
writer.write("<img src=\"icon.jpg\" alt=\"icons\"> ");
and if i copy my picture in WEB-INF and write this both last lines, it doesn't work... where is my mistake?
oh create this forum destroy my lines... shit happens, but i think my problem is clear...