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 / mayookh mitra

We can use both. *.do and do.* both are valid in struts. As
a matter of fact anything is valid when we are using the url
mapping.

*.do or routes all requests with a .do extension to the
specified page. And in the other case do.* directs all
request urls ending with a do.(html,jsp,whatever)to the
specified page

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by actionform?

934


What are the pros of struts 2?

929


How duplicate form submission can be controlled in struts?

1075


What are struts in java?

865


What is the difference between requestaware and servletrequestaware interface?

1003


What is interceptor in Struts2?

923


How the exceptions are handled in struts?

940


What is front controller in struts?

948


What are different Struts2 tags? How can we use them?

911


What is the life cycle of actionform?

977


List the important attribute and elements of action mapping under struts.

947


How you will make available any message resources definitions file to the struts framework environment?

929


What is used to display the intermediate result in an interceptor?

910


What are the components of struts framework?

980


What is the use of form bean in struts?

879