struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël di Cicco <raphael.dici...@atosorigin.com>
Subject img tag
Date Fri, 11 Jul 2003 14:49:37 GMT
Hi,

I'm using Struts 1.1 with modules. I want to use the page attribute of  <html:img> but
without struts genrating the module name.
For instance:
I'm in a JSP page inside the module "administration"
let's say I want to display an image called image.gif in directory img:
<html:img page="/img/image.gif " width="229" height="32"/>

This is creating : 

<img src="/myweb/administration/img/image.gif" height="32" width="229">
instead of :
<img src="/myweb/img/image.gif" height="32" width="229">

Any solution to this problem with using src ?

________________________________
Raphaël di Cicco
Atos Origin - Intégration projet AGRIPPA
2ème étage - salle 208
e-mail : raphael.dicicco@atosorigin.com
tél : 01-55-91-24-53

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message