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
Why use struts framework in java?
How does one create an action in struts 2?
What is the purpose of @beforeresult annotation?
What is the purpose of global-forwards tag in struct-config.xml?
Which configuration files are used in struts?
What is the purpose of '@customvalidator'?
Is struts efficient?
What are the some useful annotations introduced in struts2?
What is the purpose of execute method of action class?
What is DynaActionForm?
What is life cycle of an interceptor?
What is actioninvocation in struts2?
What are the ways in which duplicate form submission can occur?
What is defeult result type?
What does params interceptor?