File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Why do we specify URL pattern as *.do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Why do we specify URL pattern as *.do" Watch "Why do we specify URL pattern as *.do" New topic
Author

Why do we specify URL pattern as *.do

Arun kumar
Greenhorn

Joined: Sep 17, 2005
Posts: 19
Hi,
I'm trying to discover why do we specify URL pattern as *.do mostly. can we specify it something else say *.did or *.abc. who chops off ".do" from the URI before searching the action in struts-config.xml. i'm learning struts so this may be a trivial question for you people but i'm bit curious to know about it.
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
hi Arooon

We can have anything after *., but we should configure same as the url pattern in web.xml.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why do we specify URL pattern as *.do
 
Similar Threads
Need a Clear info
Using index.do as default page
question
url-mapping in Struts
What's wrong with this deployment descriptor?