| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
3 comments so far (post your own) View All Comments Latest 10 Comments:There is a wrong understanding of MappingDispatchAction. In struts-config.xml the action paths must be something like:
<action path="callAdd" parameter="add" .../>
MappingDispatchAction uses the parameter to map the action to the add-method in MappingDispatch_Action. So in the jsp the code is as follows:
<html:link page="/callAdd.do">Call Add Section</html:link>
The Benefit of MappingDispatchAction is, that every action maps to a method only one class, which is like DispatchAction, but the mapping is not done via the parameter attribute, but via the action.
This misunderstanding may come from wrong interpretaion of the parameter attribute. This attribute is a multipurpose parameter for the Action-implementation and does not mean an URL-parameter.
Greetings,
Martin
Posted by Martin Krueger on Friday, 10.19.07 @ 17:57pm | #34398
I could understand much difference between mapping and lookup dispatch action
Posted by debu on Thursday, 06.28.07 @ 18:04pm | #20330
I think this page has been updated lately, and i am not finding any difference of conents between DispatchAction and MappingDispatchAction tutorial. Both are exactly same. Rather the information provided previously was correct and more sensible.
In general tutorial provided by roseindia is quiet useful in all other sense.
Thanks
Posted by angelina on Tuesday, 05.15.07 @ 17:03pm | #15999