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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:59:53+00:00 2026-05-30T01:59:53+00:00

I am trying to handle the form-data and put it in the data base

  • 0

I am trying to handle the form-data and put it in the data base derbi that comes with netbeans.The server i am using is Glassfish. After filling the form when i click the submit data button, according to the action handler the request should follow to a servlet named FormHandler.do but when i try to reach out to the page FormHandler.do this is the error message displayed by the browser :

This webpage is not found
No webpage was found for the web address: 
file:///W:/UnderTest/WebApplication_GLASSFISH/src/java/FormHandler/FormHandler.do
Error 6 (net::ERR_FILE_NOT_FOUND): The file or directory could not be found.

But the file is there in the same directory as the html file (that has form). This is the type of url i give in the form tag:

<form method="post" action="FormHandler.do"> 
<b>Name:</b><input type="text" name="Name" /> <br /> <br />
<b>Email:</b><input type="email" name="Email" /> <br /> <br />
<b>Password:</b><input type="password" name="Password" /> <br /> <br />
<input type="submit" value="Register" />

What could be the reason for this problem ?

enter image description here

(After the request goes to the servlet FormHandler.do it checks (as per logic) if the text fields are empty. If they are empty it forwards the request to a servlet that shows the errors and if correct it inserts that data into the database and shows the success servlet.)

  • 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-30T01:59:54+00:00Added an answer on May 30, 2026 at 1:59 am

    No webpage was found for the web address:
    file:///W:/UnderTest/WebApplication_GLASSFISH/src/java/FormHandler/FormHandler.do

    You need to access web resources by a HTTP path, not by a local disk file system path. Something like as:

    http://localhost:8080/WebApplication_GLASSFISH/FormHandler.do

    The /WebApplication_GLASSFISH part is the context path. It’s unclear which one you’re using, but this information is printed in the server’s startup log. Something like as this:

    INFO: WebApplication_GLASSFISH was successfully deployed in 3,770 milliseconds.
    

    You need to make sure that the URL in your browser address bar matches this.

    Also, HTML files should go in “Web Pages”, not in “Source Packages”. After you move the Registration.html into “Web Pages”, you can open it by

    http://localhost:8080/WebApplication_GLASSFISH/Registration.html

    This way the form will submit to the proper servlet URL assuming that you’ve a

    <form action="FormHandler.do">
    

    This all is rather trivial. I’d suggest to go through a bit decent Servlet book/tutorial once again. Put your mouse above the servlets tag which you put below the question and click at the info link to get a good starting point.

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

Sidebar

Related Questions

I'm trying to POST some multipart form data to my server using a Browser
I'm trying handle bad json data when parsed through json_decode(). I'm using the following
I'm trying to handle the possibility that no arguments and no piped data is
I'm trying to create a form that will handle video file uploads from the
I am trying to handle the http-post from a web form using MVC 2s
I'm trying to handle a JSONP request server side for a form submission ie.
I'm trying to handle Winsock_Connect event (Actually I need it in Excel macro) using
Using Watin, I'm trying to handle a confirm dialog box and tell watin to
I have a UIViewController subclass that I am trying to have handle the shake
I am trying to write a function to post form data and save returned

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.