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 / kartheeswari
If we specify *.do in <url-pattern>, the ActionServlet
specified in <servlet-class> will respond to all the
request whicheverr comes from the client.
if we specify do.*, ActionServlet class respond only to the
request comes from the resource with "do" primaryname and
with any extension. like do.html, do.jsp, do.do
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Can you explain struts.properties in struts2?
How can duplicate form submission be handled in struts 2?
What are interceptors in struts 2?
How does struts2 token work?
What is the use of forwardaction?
What is the purpose of plug-in tag in struct-config.xml?
What are the custom tags?
Describe the two types of formbeans.
Does Struts2 action and interceptors are thread safe?
What is the significance of logic tags in Struts?
How is the action mapping specified?
What is use of i18n interceptor?
What is struts2 namespace?
What is value stack?
Explain struts.devmode?