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
What do you mean by actionform?
What are the pros of struts 2?
How duplicate form submission can be controlled in struts?
What are struts in java?
What is the difference between requestaware and servletrequestaware interface?
What is interceptor in Struts2?
How the exceptions are handled in struts?
What is front controller in struts?
What are different Struts2 tags? How can we use them?
What is the life cycle of actionform?
List the important attribute and elements of action mapping under struts.
How you will make available any message resources definitions file to the struts framework environment?
What is used to display the intermediate result in an interceptor?
What are the components of struts framework?
What is the use of form bean in struts?