what is the difference between *.do & /do.*/?
So what is the diffenence btn extension mapping & path
mapping.What is those difference in work effect?

Answer Posted / mayookh mitra

We can use both. *.do and do.* both are valid in struts. As
a matter of fact anything is valid when we are using the url
mapping.

*.do or routes all requests with a .do extension to the
specified page. And in the other case do.* directs all
request urls ending with a do.(html,jsp,whatever)to the
specified page

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the different types of actions found in struts.

556


What is the struts in java?

510


Describe the two types of formbeans.

576


What is difference between spring and struts?

503


What does validation interceptor?

546






What is spring hibernate and struts in java?

491


Why actionservlet is singleton in struts?

592


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

558


What is struts in java with example?

508


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

492


What are the steps of struts installation?

571


What is the forward action utilized for?

552


What is controller in struts2?

499


Is Struts Framework part of J2EE?

619


What are the applications of struts?

535