Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

JNDI servlet access

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a quickie (oo-err!)...
Rather than having my jndi properties placed in a Properties object and passed into an InitialContext object in my servlet code, where is the sensible/standard place for the jndi.properties file?
Regards to all,
Matt.
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Matthew Webster:
Just a quickie (oo-err!)...
Rather than having my jndi properties placed in a Properties object and passed into an InitialContext object in my servlet code, where is the sensible/standard place for the jndi.properties file?
Regards to all,
Matt.


For Me I created a directory under WEB-INF\conf and placed my properties files like velocity.properties hsqldb.properties so that i can change the properties with compiling the servlet code.
Just FYI.
Regards
Balaji
 
reply
    Bookmark Topic Watch Topic
  • New Topic