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 default suffix for Struts2 action URI and how can we change it?
What is the difference between struts and spring? Explain
What does params interceptor?
Why use spring, if you are already using struts?
When it’s useful to use IncludeAction?
How many struts config file can be created in struts?
What is the actionform?
How action-mapping tag is used for request forwarding in struts configuration file?
What is difference between actionform and dynaactionform?
How to upload struts file?
How does struts work?
What does modeldriven interceptor?
How can we work with error tags?
What does apache struts do?
What is the purpose of @element?