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 is the use of resourcebundle.properties file in Struts Validation framework?
How is declarative handling of exceptions done in struts ?
Why is it called struts?
What are action errors and error and what are the consequences they impose?
What types of validations are available in xml based validation in struts2?
What is the purpose of @beforeresult?
How is token generated?
Explain about struts relation to html tags?
What is structs 2 validation framework?
What are the struts2 error message keys that can come during file uploading process?
What are inner class and anonymous class?
Why are frameworks used?
What do you mean by inner class and anonymous class?
How action mapping is configured in Struts?
What are the components of struts framework?