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


Please Help Members By Posting Answers For Below Questions

What is the use of lookupdispatchaction?

561


What are the two different types of validations that the validator framework supports?

523


What are the ways in which duplicate form submission can occur?

504


What is the design role played by struts?

552


What is struts framework in java?

533






What is life cycle of an interceptor?

548


How to convert struts to spring mvc?

535


What is xml based validation in struts2?

557


What do you mean by action errors and what are the results they force?

576


What are best practices to follow while developing Struts2 application?

607


What is container struts2?

529


What is difference between lookupdispatchaction and dispatchaction?

630


Can explain about the validations and in your project where did u used the validations?

6401


How many servlet controllers are used in a Struts Application?

513


Does apache tomcat use struts?

506