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
What is the use of struts?
Who makes the struts?
What is struts?
Explain about token feature in struts?
How does one create an action in struts 2?
What are action errors and error and what are the consequences they impose?
How to upload struts file?
What is the purpose of form-be tag in struct-config.xml?
What's mvc pattern ?
What is action servlet in struts?
How many struts config file can be created in struts?
How to use dispatchaction?
What is the significance of logic tags in Struts?
How we can configured action mapping in struts?
What is the purpose of @results?