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


Please Help Members By Posting Answers For Below Questions

What is the use of resourcebundle.properties file in Struts Validation framework?

578


What is declarative exception handling in struts?

556


How do you find the struts version being used in a project?

516


Explain about struts dispatch action?

548


How exceptions are handled in struts application?

536






What are the action classes in struts?

522


List some struts tag libraries?

559


What is http redirect?

569


Which design pattern is implemented by Struts2 interceptors?

552


How to use dispatchaction?

577


Describe the basic steps used to create a tiles application?

553


How interceptor works in struts 2?

592


Is struts compatible with other java technologies?

531


What are the cons of struts 2?

572


What is action support class in struts2?

568