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 / kartheeswari
If we specify *.do in <url-pattern>, the ActionServlet
specified in <servlet-class> will respond to all the
request whicheverr comes from the client.
if we specify do.*, ActionServlet class respond only to the
request comes from the resource with "do" primaryname and
with any extension. like do.html, do.jsp, do.do
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Explain how to work with error tags?
Describe the mvc on struts?
How to use dispatchaction?
Which class of struts is responsible to converts data types from string and vice versa?
What’s the utilization of resource bundle properties file in struts validation structure?
What is the purpose of struts.properties in struct2?
What is the use of jsonvalidation?
What are the ways in which duplicate form submission can occur?
Is there a particularly good ide to use with struts?
What are best practices to follow while developing Struts2 application?
How to get data from the velocity page in a action class?
What does execandwait interceptor?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What are the core classes of the struts framework?
What is strut web xml?