This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Servlets and the fly likes Mapping Options Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Mapping Options" Watch "Mapping Options" New topic
Author

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?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56521
    
  14

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Mapping Options
 
Similar Threads
Joining tables
Hibernate mapping:Bean class & MySQL DB View
relating to jibx
Specify namespaces in mapping file
Mapping Java fields to attribute and element