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

Are struts still used?

680


Why was reload removed from struts (since 1.1)?

741


What is ValueStack and OGNL?

765


What is front controller in struts2?

748


What is the use of struts?

704


Why are springs better than struts?

793


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

797


What is a custom tag?

705


Where can I get help with struts?

753


What is the purpose of @action annotation?

777


in struts how to use hibernate with struts>

2009


Is there a particularly good ide to use with struts?

689


What is the use of namespace in action mapping in Struts2?

778


What is struts2 framework?

701


Which components are available using actioncontext map?

916