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 is declarative handling of exceptions done in struts ?
What is the purpose of @conversion?
What is the purpose of @after annotation?
How we can controlled duplicate form submission in struts?
What are the steps used to setup dispatch action?
What is java struts?
How does one create an action in struts 2?
What steps are required to for an application migration from Struts1 to Struts2?
Do we need to pay the struts if being used in commercial purpose?
How to use dispatchaction?
What is dispatch action class?
What is defeult result type?
What is the default suffix for Struts2 action URI and how can we change it?
State the procedure for using forward attribute of link tag’s.
How to work with error tags?