File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes [JNDI] Existence or not of attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "[JNDI] Existence or not of attribute" Watch "[JNDI] Existence or not of attribute" New topic

[JNDI] Existence or not of attribute

Rafael Afonso
Ranch Hand

Joined: Jul 16, 2002
Posts: 63

I need verify a exstence of attribute in JNDI (in Tomcat 3 or 4). I would like do something like this:

But I do not find anything like this in JNDI api. So I must use exception:

Does Someone know better way?


=================================<br /> Rafael U. C. Afonso<br /> <a href="" target="_blank" rel="nofollow"></a><br />=================================<br /><i>Where is debug?<br />debug is on the table</i>
I agree. Here's the link:
subject: [JNDI] Existence or not of attribute
Similar Threads
Tomcat Connection Pool
Connect DS with JNDI in JBoss AS
JNDI connection
Connection class related Query
DB JNDI lookup WAS 4.0