Mohan I think what you want to do is to setup an action mapping something like:
<action path="mainscreen" type="your.class.goes.here" > <forward name="success" path="loggoff path here" /> </action> Then create an action class and do what you want in the execute method. Regards Quentin -----Original Message----- From: Mohan Radhakrishnan [mailto:MohanR@;hclcomnet.co.in] Sent: 31 October 2002 10:23 To: 'Struts Users Mailing List' Subject: 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>