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 4259094
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:44:14+00:00 2026-05-21T05:44:14+00:00

This problem is intermittant and occurs every few times I try to connect to

  • 0

This problem is intermittant and occurs every few times I try to connect to my web app from a client machine.

The jsp pages loads fine, any code within it executes fine, but as soon as I submit a form to a servlet, it cannot find the servlet.

Yet when on the server itself I can run the full application from netbeans with no problem, also I can run the full application on the server under IE7, no problems.

Any external connection can see the web pages but falls over on accessing a servlet.

As far as I am concerned everything seems to be in place, servlet libs are in both jdk/jre libs, the classpath is correct.

As a further test I created a new virtual server, installing netbeans, tomcat6 and copying over the original files and the same issue occurs.

  • 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-21T05:44:15+00:00Added an answer on May 21, 2026 at 5:44 am

    servlet libs are in both jdk/jre libs

    This is a very, very bad idea. The servlet libs are in essence already provided by the servletcontainer itself. In case of for example Tomcat, it’s present in its /lib folder. When you manually put servlet libs of a different servletcontainer make/version in JDK/JRE libs, then I won’t be surprised if the webapp start to behave like that.

    At any way, get rid of servlet libs in JDK/JRE libs. Even more, you should never touch those libs. If you did it because you got compilation errors on missing javax.servlet imports when compiling servlets, then you should have solved it differently: specify the Tomcat/lib/* in the compiletime classpath.


    Where did you learn about developing servlets? Did you read Roseindia tutorials or something? I’d suggest to put aside the book/tutorial you have used and continue with decent books/tutorials. You can find useful links at bottom of our Servlets info page.

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

Sidebar

Related Questions

This problem has bugged me so many times and i have now decided to
This problem is baffling me: BEGIN; INSERT INTO sub_users(user_id, email) SELECT user_id FROM users
My web-app has this secret place only some people are allowed to use. When
This problem seems to come up for a few people, but I haven't been
This is a really strange problem, that appears to be somewhat intermittent (although it
This problem is same as asked in here . Given a list of coins,
This problem seems very simple to me, but I've been unable to fix it,
This problem is caused by my acknowledge of English and jQuery or maybe something
This problem has been bugging me for a long time. For example, the code
This problem is about concurrent high speed inserts. I must admit it is very

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.