import a class in a default package

Discussion in 'Java' started by grouptarget.com, Nov 21, 2006.

  1. I want to import a class in a default package. But in jsp, it looks in
    the current folder path. Can anyone help? thanks
     
    grouptarget.com, Nov 21, 2006
    #1
    1. Advertising

  2. grouptarget.com wrote:
    > I want to import a class in a default package. But in jsp, it looks in
    > the current folder path.


    You might have to resort to reflection.
    (And please slap whoever it was wrote the class).

    Andrew T.
     
    Andrew Thompson, Nov 21, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. BNM

    import class vs package?

    BNM, Oct 1, 2003, in forum: Java
    Replies:
    9
    Views:
    12,894
    Thomas G. Marshall
    Oct 4, 2003
  2. lonelyplanet999
    Replies:
    14
    Views:
    44,037
    SahanaDhandapani
    May 13, 2012
  3. Parvinder
    Replies:
    6
    Views:
    780
    Thomas G. Marshall
    Feb 27, 2005
  4. George P
    Replies:
    3
    Views:
    709
    Alex Martelli
    Sep 11, 2004
  5. Gabriel Rossetti
    Replies:
    1
    Views:
    514
    ryles
    Sep 20, 2009
Loading...

Share This Page