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 purpose of @customvalidator annotation?
How long do struts last?
What is the purpose of execute() method?
What are the reasons for an error message not being displayed while developing struts application?
How tag libraries are defined in Struts?
What is form bean in struts?
What is the difference between plain-validator and field-validator?
What are best practices to follow while developing Struts2 application?
Is there a particularly good ide to use with struts?
How the flow of various requests happens in struts application?
What's mvc pattern ?
What are the components of struts framework?
What is the naming convention for a resource bundle file in struts2?
How can forward action be used to restrict a strut application to mvc?
How can we handle exceptions thrown by application in Struts2?