• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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