Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Avoiding hard-coded annotations such as below: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Avoiding hard-coded annotations such as below:" Watch "Avoiding hard-coded annotations such as below:" New topic
Author

Avoiding hard-coded annotations such as below:

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello,

I would like to avoid the hard-coded annotation variable such as below:



Environment:
-J2ee 1.4 (web tier only, tomcat 5.5)
-J2se 5.0

I have a context param which is located in the web.xml and that I would like to use instead of the hard-coded name above.

Can anyone help?

Julien.
 
jQuery in Action, 2nd edition
 
subject: Avoiding hard-coded annotations such as below:
 
Similar Threads
Using Struts templates within HTML Frameset
Avoiding hard-coded annotations such as below:
struts 1- list box
Help needed on Reflection
Preventing the hard-coding of an annotation