This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to import javax.naming.* in servlet

 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried "import java.rmi.*;" but still find the same
error.
Package javax.naming not found in import
still
- satya
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Looks like Tomcat3.2 doesn't support this.
I am posting this for ref.
Thanks.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic