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
Explain the difference between plain-validator and field-validator in struts?
Where can I get help with struts?
What is the significance of logic tags in Struts?
What is role of action class?
When should we use SwtichAction?
Why is it called struts?
How can we handle exceptions thrown by application in Struts2?
What are disadvantages of Struts?
How we can configured action mapping in struts?
What are struts in java?
What is the difference between struts and spring? Explain
What are the struts2 error message keys that can come during file uploading process?
What are the important methods of actionform?
How is declarative handling of exceptions done in struts ?
What is the purpose of action tag in struts.xml?