Results 1 to 3 of 3

Thread: hashtable

  1. #1
    vijayabaskar is offline Member
    Join Date
    Apr 2009
    Posts
    37
    Rep Power
    0

    Thumbs up hashtable

    hashtable class = new hashtable();
    class.put("name",classname);

    ouput:
    result12:{name=com.qrd.samples.HelloWorld}

    how do i get the servlet name in "name"

  2. #2
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    That is the servlet name - what is it that you want?

  3. #3
    vijayabaskar is offline Member
    Join Date
    Apr 2009
    Posts
    37
    Rep Power
    0

    Default

    hi
    i am creating servlet container using osgi. on that.. getting list of servlet war files and extract it. after i need to get the list of servlet class files in single war files and then i need to put the servlet class files in hashtable and then get from it.. i dono clearly.. help me please.. then is it any better use than hashtable?

Similar Threads

  1. Hashtable
    By angelicsign in forum New To Java
    Replies: 6
    Last Post: 02-05-2009, 04:30 PM
  2. usage of Hashtable
    By venu2807 in forum New To Java
    Replies: 4
    Last Post: 01-27-2009, 03:36 AM
  3. Multidimensional hashtable?
    By jklsemicolon in forum New To Java
    Replies: 6
    Last Post: 08-17-2008, 05:23 AM
  4. Hashtable example
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-15-2008, 08:43 AM
  5. Hashtable-put method
    By new_1 in forum New To Java
    Replies: 1
    Last Post: 12-23-2007, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •