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

Answer Posted / midhula

Yes you can write any thing

in html or jsp if you use <form action="login.ibm">

then in web.xml in <url-pattern>*.ibm</url-pattern>

when reqest reaches to web.xml file i.e to the url-pattern
and * is now replace with login,making use of the servlet-name
tags content,Action Servlet(i.e servlet-class tags content)
is identified.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about token feature in struts?

735


Explain about tiles?

786


Can explain about the validations and in your project where did u used the validations?

6937


how does request processor relates to action mapping?

689


What is action servlet in struts?

702


What is the purpose of execute() method?

780


Is Struts Framework part of J2EE?

771


What is struts 2 framework in java?

761


What do you mean by the abstract package in struts2, and what is its utilization?

720


How can we handle exceptions thrown by application in Struts2?

719


What is structs 2 validation framework?

751


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

735


What is the role of action class in struts?

738


What is discontinuous strut?

684


Which class is the Front Controller in Struts2?

718