You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by me...@bpam.fr on 2002/11/22 15:00:13 UTC
imge submit tag error
hi all,
I've a problem when I try to use the image tag.
I do use it like this
<html:image src="images/icADMdelete.gif" page="<%=editUrl%>" alt=
"Supprimer" border="0"/>
The following ServletException is raised
javax.servlet.ServletException: You must specify exactly one of src,
srcKey, page, or pageKey
And I don't have any exception when I remove the page attribute.
It seems like I'm using it wrongly.
can someone tells me what I've missed.
thanks
Meissa
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: imge submit tag error
Posted by Patrice <pp...@nerim.net>.
You must specify only src or only page, but not both.
Best regards
Patrice
----- Original Message -----
From: <me...@bpam.fr>
To: <st...@jakarta.apache.org>
Sent: Friday, November 22, 2002 3:00 PM
Subject: imge submit tag error
> hi all,
>
> I've a problem when I try to use the image tag.
>
> I do use it like this
>
> <html:image src="images/icADMdelete.gif" page="<%=editUrl%>" alt=
> "Supprimer" border="0"/>
>
> The following ServletException is raised
>
> javax.servlet.ServletException: You must specify exactly one of src,
> srcKey, page, or pageKey
>
> And I don't have any exception when I remove the page attribute.
>
> It seems like I'm using it wrongly.
>
> can someone tells me what I've missed.
>
> thanks
>
> Meissa
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>