what is the difference between *.do & /do.*/?
So what is the diffenence btn extension mapping & path
mapping.What is those difference in work effect?
Answer Posted / mayookh mitra
We can use both. *.do and do.* both are valid in struts. As
a matter of fact anything is valid when we are using the url
mapping.
*.do or routes all requests with a .do extension to the
specified page. And in the other case do.* directs all
request urls ending with a do.(html,jsp,whatever)to the
specified page
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can we group related actions in one group in Struts?
What are Struts2 core components?
What is struts.devmode?
Which components are available using actioncontext map?
What is the use of resourcebundle.properties file in Struts Validation framework?
Is struts action class singleton?
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What is actionmapping?
Can we have more than one struts-config.xml file for a single struts application?
How action-mapping tag is used for request forwarding in struts configuration file?
What is package name in struts xml?
What is Custom Type Converter in Struts2?
What is the purpose of @key annotation annotation?
Describe the two types of formbeans.
List the important attribute and elements of action mapping under struts.