File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why do we specify URL pattern as *.do

 
Arun kumar
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Arooon

We can have anything after *., but we should configure same as the url pattern in web.xml.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic