jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Mapping Options Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Mapping Options" Watch "Mapping Options" New topic

Mapping Options

Rohit Sajan
Ranch Hand

Joined: Jun 15, 2006
Posts: 34
In a web application I need certain mapping files (basically which tells what is the curresponding file or ID for a given parameter). Using properties file is one option. May I know the different techniques for achieving the same?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

Well, I guess you could define your own XML format. But if you're just mapping one string to another, a properties file is hard to beat.

[Asking smart questions] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: Mapping Options
It's not a secret anymore!