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 difference between struts1 and struts2?
How to combine the struts with velocity template?
What is difference between interceptors and filters?
What does it cost to replace struts?
What is the purpose of @keyproperty annotation annotation?
how to develop the submit and search operations in single jsp using struts?
What is controller in struts2?
Can a reducer dispatch an action?
in struts how to use hibernate with struts>
Provide some important Struts2 constants that you have used?
How properties of a form are validated in Struts?
What is the life cycle of actionform?
Which library is provided by struts for form elements like check boxes, text boxes etc?
Can you explain custom tag?
What is struts 2 framework in java?