File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes *.do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "*.do" Watch "*.do" New topic


hemapriya rao

Joined: Jun 27, 2007
Posts: 15
*.do what does this mean in servlet mapping
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

Any URL ending in .do.

[Asking smart questions] [About Bear] [Books by Bear]
stef li

Joined: Jan 16, 2006
Posts: 27
if your request url is ending in ".do" ,then it will be dealed with this servlet.

This guy is so lazy!!!<br />There is nothing left!
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

And to add to what the others have said, it has no particular meaning. It will just map a servlet to urls ending in ".do". I think (may be wrong) that Struts started the fashion of mapping a front controller to "*.do" extensions.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: *.do
It's not a secret anymore!