Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can you explain struts.properties in struts2?

1004


How can duplicate form submission be handled in struts 2?

1036


What are interceptors in struts 2?

1065


How does struts2 token work?

1020


What is the use of forwardaction?

1058


What is the purpose of plug-in tag in struct-config.xml?

921


What are the custom tags?

959


Describe the two types of formbeans.

1041


Does Struts2 action and interceptors are thread safe?

1136


What is the significance of logic tags in Struts?

1026


How is the action mapping specified?

1011


What is use of i18n interceptor?

1044


What is struts2 namespace?

970


What is value stack?

1095


Explain struts.devmode?

1012