A quick look at the DispatchAction source (if you don`t have the source, you can download it) would the best way for you to understand. It`s not that complicated.
I never took a detailed look at the source, but basically, it gets the mapping for the method specified in struts-config.xml and then get the value of this parameter. After that it dispatches the request to the specifc method a calling to dispatchMethod() method. --- "Varley, Roger" <[EMAIL PROTECTED]> escreveu: > Hi > > I have implemented a LookupDispatchAction action > class to deal with a form that contains multiple > submit buttons as outlined in the sample chapter > from "The Struts Survival Guide" at > http://www.objectsource.com/Chapter4.pdf I've got > everything working but I would be grateful if > someone could either explain or point me to > documentation explaining, *why* it works? > > Regards > Roger > > > __________________________________________________________________________ > This e-mail and the documents attached are > confidential and intended > solely for the addressee; it may also be privileged. > If you receive this > e-mail in error, please notify the sender > immediately and destroy it. > As its integrity cannot be secured on the Internet, > the Atos Origin group > liability cannot be triggered for the message > content. Although the > sender endeavours to maintain a computer virus-free > network, the sender > does not warrant that this transmission is > virus-free and will not be > liable for any damages resulting from any virus > transmitted. > __________________________________________________________________________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > _______________________________________________________ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! http://br.acesso.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]