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's mvc pattern ?

584


Explain the components of struts?

536


Which configuration file is used for storing jsp configuration information in struts?

539


Does struts include its own unit tests?

521


What is the different actions available in struts?

542






Which technologies can be used at view layer in struts?

642


What are the custom tags?

528


What do you mean by a custom tag?

541


What is the purpose of global-forwards tag in struct-config.xml?

578


What is defeult result type?

625


What is the forward action utilized for?

550


What are the struts2 configuration properties that control file uploading process?

600


What are the pros of struts 2?

555


Explain about the process of functioning of the struts program?

586


How interceptor works in struts 2?

590