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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:36:19+00:00 2026-05-22T14:36:19+00:00

i have made a small web application with form.html in the WebContent/WEB-INF/Form.html location There

  • 0

i have made a small web application with form.html in the WebContent/WEB-INF/Form.html location

There are servletOne.java Servlet.java, Icecream.java in the src folder of my project named “ApplicaitonOne”

Form.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
  <p><kbd>SELECT VALUE</kbd></p>
  <p>
    <label>
      <input type="radio" name="RadioGroup1" value="Vanilla" id="RadioGroup1_0" />
      Vanilla</label>
    <br />
    <label>
      <input type="radio" name="RadioGroup1" value="Chocolate" id="RadioGroup1_1" />
      CHocholate</label>
    <br />
    <label>
      <input type="radio" name="RadioGroup1" value="Strawberry" id="RadioGroup1_2" />
      Strawberry</label>
    <br />
  </p>
  <p>
    <input type="submit" name="Submit" id="Submit" value="Submit" />
    <br />
  </p>
</form>
<p>&nbsp;</p>
</body>
</html>

web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>ApplicationOne</display-name>
    <welcome-file-list>

        <welcome-file>Form.html</welcome-file>
    </welcome-file-list>

    <servlet>
    <servlet-name>ServletOne</servlet-name>
    <servlet-class>com.example.ServletOne</servlet-class>
    </servlet>

    <servlet-mapping>
    <servlet-name>ServletOne</servlet-name>
    <url-pattern>/Welcome</url-pattern>
    </servlet-mapping>

    <session-config>
    <session-timeout>
    15
    </session-timeout>
    </session-config>

    <context-param>
    <param-name>flavour</param-name>
    <param-value>Choclate</param-value>
    </context-param>

    <listener>
    <listener-class>
    com.example.ServletInt
    </listener-class>
    </listener>

</web-app>

When running project as server, I get:

address in address bar: http://localhost:8080/ApplicationOne/
HTTP Status 404 – /ApplicationOne/
type Status report
message /ApplicationOne/
description The requested resource (/ApplicationOne/) is not available.
Apache Tomcat/5.5.31

When running form.html as server, I get:

address in address bar: http://localhost:8080/ApplicationOne/WEB-INF/Form.html
HTTP Status 404 –
type Status report
message
description The requested resource () is not available.
Apache Tomcat/5.5.31

  • 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-22T14:36:19+00:00Added an answer on May 22, 2026 at 2:36 pm

    WEB-INF is a private directory (It will contains configs and compile code). form.html should be directly under WebContent/.

    To double check the context path of your application you can visit:
    http://localhost:8080/manager/html

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

Sidebar

Related Questions

i have made a small web application with form.html output.jsp ServletOne.java In the form.html,users
I have made a small application in Java and I would like to make
Post-release, I have made one small change to one form in our development site
I have just created a mid-sized web-application using Java, a custom MVC framework, javascript.
In the bug fixing of a small ASP.NET/C# web app I have made, I
I'm currently maintaining a small-medium sized java web application (using only plain JSPs/Servlets) that
I have a web application. It does a TON of data reads on small
I was developing a small WAMP web application on my laptop, where I have
I have made small web-app in jsp with a start page with login and
I have made a small log service that i want to publish to a

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.