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

  • Home
  • SEARCH
  • 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 971735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:00:39+00:00 2026-05-16T03:00:39+00:00

Where do I have to put my *.class file in Tomcat Directory? In my

  • 0

Where do I have to put my *.class file in Tomcat Directory?

In my Java-Complete Reference book, they told to put it in C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes. But now i’m using Tomcat 7.0. There is no folder exists with the name “examples” in webapps.

How can I fix this? Can you tell me links that will illustrate Servlets from beginning?

  • 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-16T03:00:39+00:00Added an answer on May 16, 2026 at 3:00 am

    Just create one yourself. Any folder which you create in Tomcat/webapps will become a standalone webapplication. You don’t even need to name it explicitly /examples. You can even name it /beer. You then just have to change the URL from http://localhost:8080/examples to http://localhost:8080/beer.


    That said, I think it’s better to look for a more recent book than the one mentioning Tomcat 4.0 which is already over a decade old. There might be more old fashioned advices/practices in the book which really can’t be done anymore nowadays (for example, cough, scriptlets). Those books are more recent (in order from newest to older):

    • Murach Servlets and JSP
    • Head First Servlets & JSP
    • Core Servlets and JSP

    To learn JSP/Servlets online, I can recommend the tutorials and ebook at coreservlets.com:

    • Beginning and intermediate JSP/Servlet tutorials
    • Advanced JSP/Servlet tutorials
    • Core Servlets and JSP ebook

    See also:

    • Java EE web development, what skills do I need?
    • Servlet lifecycle and multithreading
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a java class and I need to debug it (put breakpoints and
I have a WAR file deployed to Tomcat server, one of the class will
I have copied class from net which inherits UIImageView. How to put that class
Say i have com.mydomain.myappname. Is it a good idea to put my baseActivity class
In class 1 I have a hashmap which I send to my CustomAdapter. map.put(year,
hey, hi i want put limit on object creation means a class can have
I have installed a new tomcat server (5.5) and I get this exception: org.apache.jasper.JasperException:
I have a Java application (non-web) which must read from a properties file. This
I'm trying to use colt.jar file into my project in Tomcat Server. I have
So I have a view that I have put together in another .xib file.

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.