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’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
Describe validate() and reset() methods.
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What is a custom tag?
What is struts.devmode?
What is actionservlet?
What is the flow of requests in struts based applications?
What are the sections into which a strut configuration file can be divided?
Which servlet does the struts framework use?
Which class of struts is responsible to converts data types from string and vice versa?
Are interceptors and filters different?
What are the differences between http direct and http indirect?
How to work with error tags?
What configuration changes are required to use resource files in Struts?
Why use spring, if you are already using struts?