Hi, The menus use <img> tags and "href". I haven't tried this but <html:link page="/logoff.do" >loggoff</html:link> is for text links? bye, Mohan
-----Original Message----- From: Xavier Combelle [mailto:xcombelle@;kaptech.com] Sent: Thursday, October 31, 2002 4:15 PM To: Struts Users Mailing List Subject: RE: actions only for html:form ? I think you should try something like <html:link page="/logoff.do" >loggoff</html:link> which call an action without using any form for the problem of reload page, i think in the preceding action, you should save the path in the session scope Regards, Xavier > -----Message d'origine----- > De : Mohan Radhakrishnan [mailto:MohanR@;hclcomnet.co.in] > Envoyé : jeudi 31 octobre 2002 11:23 > À : 'Struts Users Mailing List' > Objet : actions only for html:form ? > > > Hi, > <a href="mainscreen.jsp"></a> > > I am trying to find out how to use the above "href" > representation to fire > an action. I need to fire an action for "reload","logoff" etc. > Sorry if this > is too elementary. > > The html:form tag has an action. How do I fire an action for > logging off > if I have an image as a menu? Do I just specify <a > href="logoff.jsp"></a> ? > A bit of explanation would really help. > > A use case that is related is this. > > 1. User presses "reload" button. > 2. If fires a "reload" action.This action does something useful. > 3. Forwards to the same page. > Thanks, > Mohan > > -- > To unsubscribe, e-mail: > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>