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
Are struts still used?
Why was reload removed from struts (since 1.1)?
What is ValueStack and OGNL?
What is front controller in struts2?
What is the use of struts?
Why are springs better than struts?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
What is a custom tag?
Where can I get help with struts?
What is the purpose of @action annotation?
in struts how to use hibernate with struts>
Is there a particularly good ide to use with struts?
What is the use of namespace in action mapping in Struts2?
What is struts2 framework?
Which components are available using actioncontext map?