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

What are the Core classes of Struts Framework?

958


What is front controller in struts?

940


How struts2 supports internationalization?

1078


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

904


Why use struts framework in java?

1028


Can you explain struts.properties in struts2?

887


Why are struts tightly coupled?

935


What is the use of namespace in action mapping in Struts2?

1002


What is dispatch action class?

1037


What is pojo in struts2?

949


At the point, you should go for struts framework?

881


What are the cons of struts 2?

950


How can we display all validation errors to user on jsp page?

1045


Can we integrate struts with spring?

953


What are the advantages of spring mvc over struts mvc?

861