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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:49:19+00:00 2026-06-14T13:49:19+00:00

Here is the sample web.xml code : <servlet> <servlet-name>register</servlet-name> <servlet-class>RegisterServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>register</servlet-name> <url-pattern>/Registration</url-pattern>

  • 0

Here is the sample web.xml code :

<servlet>
    <servlet-name>register</servlet-name>
    <servlet-class>RegisterServlet</servlet-class>
</servlet>

<servlet-mapping>
    <servlet-name>register</servlet-name>
    <url-pattern>/Registration</url-pattern>
</servlet-mapping> 

While opening the page Registration on my browser(am using tomcat 7.0),it shows the error :

The requested resource (/yaman/proj/Registration) is not available. (404 error)

Even when i remove all the files from the class folder,it says the same,as expected.
Cant identify where exactly does the problem lie.
Please help!

  • 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-06-14T13:49:21+00:00Added an answer on June 14, 2026 at 1:49 pm

    I was having a really weird error,and i have no idea why it happened.
    All my files for my project were listed under webapps/yaman/proj/ ..when i was using tomcat to register myself using a register.jsp page(which was intern mapped to a servlet using web.xml),it gave me a 404 error,saying the resource is not available.
    But when i cut and paste all the files from “proj”,copied it to “yaman” and deleted “proj”,it somehow worked and the servlets also worked fine.
    I have no idea why such an error arised.
    If any of you folks have an idea why this happened or experienced same sort of problem,feel free to add comments.

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

Sidebar

Related Questions

Here's sample model classes, which being use with Entity Framework Code First: public class
I want to write a simple web proxy, for exercise. Here's the code I
Here is sample data <table class=sparql border=1> <tr> <th>abstract</th></tr> <tr> <td> Cologne is Germany&#39;s
How can i access the folder path from web.config using c# code. here is
Why does this simple web service refuse to return JSON to the client? Here
Web-development novice here. I want to try implementing a simple web site that uses
I have created my web socket server and client using this simple tutorial here
Here's the setup. I have web site which is essentially a simple CMS. Here
I write a simple OLAP viewer for my web-site. Here are the classes (abstract
here the sample case.. i want to display banner randomly by percentage based on

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.