• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get JNDI Service in general class?

 
avseq anthoy
Ranch Hand
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want get JNDI Service provided by Tomcat , But it can't work.
Are there any wrong in my code that I need to modify?
The code listed as below.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic