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
What are the Core classes of Struts Framework?
What is front controller in struts?
How struts2 supports internationalization?
What is the purpose of form-be tag in struct-config.xml?
Why use struts framework in java?
Can you explain struts.properties in struts2?
Why are struts tightly coupled?
What is the use of namespace in action mapping in Struts2?
What is dispatch action class?
What is pojo in struts2?
At the point, you should go for struts framework?
What are the cons of struts 2?
How can we display all validation errors to user on jsp page?
Can we integrate struts with spring?
What are the advantages of spring mvc over struts mvc?