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’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

963


Describe validate() and reset() methods.

1035


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4472


What is a custom tag?

885


What is struts.devmode?

993


What is actionservlet?

952


What is the flow of requests in struts based applications?

947


What are the sections into which a strut configuration file can be divided?

1007


Which servlet does the struts framework use?

935


Which class of struts is responsible to converts data types from string and vice versa?

1054


Are interceptors and filters different?

972


What are the differences between http direct and http indirect?

924


How to work with error tags?

908


What configuration changes are required to use resource files in Struts?

990


Why use spring, if you are already using struts?

953