In web.xml file instead of *.do can i write *.ibm, Specify
with example
Answer Posted / midhula
Yes you can write any thing
in html or jsp if you use <form action="login.ibm">
then in web.xml in <url-pattern>*.ibm</url-pattern>
when reqest reaches to web.xml file i.e to the url-pattern
and * is now replace with login,making use of the servlet-name
tags content,Action Servlet(i.e servlet-class tags content)
is identified.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is actionform in struts?
What is the purpose of execute method of action class?
How struts2 supports internationalization?
How do I access token?
Does Struts2 action and interceptors are thread safe?
Explain the core end goal while using java struts?
What is the flow of requests in struts based applications?
Whats the difference between the default namespace and the root namespace?
Why are springs better than struts?
What is the different actions available in struts?
What are the benefits of Struts framework?
Why was reload removed from struts (since 1.1)?
What are inner class and anonymous class?
How does struts2 token work?
Name the different types of actions found in struts.