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...

In web.xml file instead of *.do can i write *.ibm, Specify
with example

Answer Posted / manna

Like all are answered ....my answer is also same YES

but there are some configuration changes

in web.xml

<servlet-mappings>
<servlet-name>testServlet</servlet-name>
<url-pattern>*.ibm</url-pattern>
</servlet-mappings>

in struts-config.xml

in every action mapping, when you want forward request

you need to configure with path name like

testServlet.ibm instead of testServlet.do

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default suffix for Struts2 action URI and how can we change it?

1005


What is the difference between struts and spring? Explain

910


What does params interceptor?

941


Why use spring, if you are already using struts?

1003


When it’s useful to use IncludeAction?

1015


How many struts config file can be created in struts?

899


What is the actionform?

1025


How action-mapping tag is used for request forwarding in struts configuration file?

958


What is difference between actionform and dynaactionform?

1042


How to upload struts file?

1017


How does struts work?

966


What does modeldriven interceptor?

1074


How can we work with error tags?

991


What does apache struts do?

916


What is the purpose of @element?

1013