struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meissa.Sa...@assetmanagement.natexis.fr
Subject Réf. : RE: calling an action in an image button script
Date Fri, 06 Jun 2003 13:36:45 GMT

you're right Robyn,

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

Meissa




"Robyn Dean" <rdean@equala.com>
06/06/2003 15:23
Veuillez répondre à "Struts Users Mailing List"


        Pour :  "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
        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: meissa.Sakho@assetmanagement.natexis.fr
[mailto:meissa.Sakho@assetmanagement.natexis.fr]
Sent: Friday, June 06, 2003 9:16 AM
To: struts-user@jakarta.apache.org
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org





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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message