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 @before annotation?
What is the purpose of @emailvalidator annotation?
how does request processor relates to action mapping?
What is pojo in struts2?
In which order struts framework searches for a message bundle?
Which components are available using actioncontext map?
What is struts in java with example?
how to debug struts project in netbean ?
Which class of struts is responsible to converts data types from string and vice versa?
What’s the utilization of struts.xml configuration file?
Explain architecture of struts2?
How to combine the struts with velocity template?
Name the different types of actions found in struts.
Give an example where struts tiles may be used?
How to upload struts file?