you're right Robyn,

I'ts working correctly now . I stupid error in my jsp ...
Thank you .

Meissa




"Robyn Dean" <[EMAIL PROTECTED]>
06/06/2003 15:23
Veuillez répondre à "Struts Users Mailing List"


        Pour :  "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
        cc :
        Objet : RE: calling an action in an image button script


Meissa,
I used the html link tag to forward to a JSP page but I'm pretty sure
that it will invoke the action directly if you forward to a ".do".

For example:

JSP:
<html:link forward='doSomething'><img src="blah.gif"/></html:link>

struts-config:
<forward name="doSomething" path="/aDir/aPage.do" />

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 9:16 AM
To: [EMAIL PROTECTED]
Subject: calling an action in an image button script



hi all,

I need to call an action when I click on an button which is an image.
The only one solution in my hand is to put an html form in my jsp and
then call a javascript that submit the form when the image button
is clicked on.

I don't want to put an html form in my jsp.
Can I use the html link tag to do that.

thank in advance.

Meissa

L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de son contenu. Toute
utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas
destinataire de ce message, merci de le detruire et d'avertir
l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or
dissemination is prohibited. If you are not the intended recipient of
this message, then please delete it and
notify the sender.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is 
prohibited.
If you are not the intended recipient of this message, then please delete it and
notify the sender.

Reply via email to