aspose file tools*
The moose likes Servlets and the fly likes how to import javax.naming.* in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to import javax.naming.* in servlet" Watch "how to import javax.naming.* in servlet" New topic
Author

how to import javax.naming.* in servlet

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

while i am able to use tomcat3.2 with a simple servlet,
when i import javax.naming.* and javax.rmi.*, it can't
find the correct classpath when i "build".
could someone help me with these pkgs and what i am missing?

thxs.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
javax.naming is part of Java Naming and Directory Interface. Rmi is in the standard Java API in java.rmi.
Hope this helps

[This message has been edited by Carl Trusiak (edited December 01, 2000).]


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
i tried "import java.rmi.*;" but still find the same
error.
Package javax.naming not found in import
still
- satya
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

Looks like Tomcat3.2 doesn't support this.
I am posting this for ref.
Thanks.
- satya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to import javax.naming.* in servlet