Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 918831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:26:29+00:00 2026-05-15T18:26:29+00:00

Suppose somewhere I import javax.servlet.http.HttpServlet . My questions: Does this mean: I could find

  • 0

Suppose somewhere I import javax.servlet.http.HttpServlet.

My questions:

  1. Does this mean: I could find a folder structure like javax/servlet/http somewhere and inside that HttpServlet.class file would be present?

  2. If not, where exactly this class file could be found?

  3. Does this mean: These are just nested namespaces with no relevance to folder structures?

  4. Package name in the above mentioned import would be javax.servlet or javax.servlet.http? Probably both are packages and first one is super package of the later one?

  5. How is this class file actually included? I’ve read import is not like c/c++ include.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:26:30+00:00Added an answer on May 15, 2026 at 6:26 pm
    1. yes

    2. see 1.

    3. see 1.

    4. package name is javax.servlet.http

    5. The classloader will locate the class (from its classpath) at runtime

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm sure this must have been answered somewhere, but I can't find it for
I suppose I could look through the whole MVC3 source and try and find
I saw this somewhere and was wondering how to achieve this. suppose i have
I recently came across a question somewhere: Suppose you have an array of 1001
Suppose I have a form : <form id=myForm method=POST action=/something/somewhere> <input type=text name=textField />
i don't understand this little thing: Suppose, we have Condition model class Condition <
trying to import a folder of sprites... also using Zend Framework so my setup
Suppose you open a file, and do an seek() somewhere in the file, how
Suppose I have a script that does a lot of stuff, and doesn't work
Suppose I have a bunch of files in a folder: foo.test.txt bar.txt ... And

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.