Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

First Run Tomcat 404 Servlet not found

Posted on 2004-04-20
1
Medium Priority
?
437 Views
Last Modified: 2006-11-17
I successfully compiled servlet 'upload' in \web-inf\classes folder.  When I tried to execute it from the browser using 'http://localhost/testup.htm' HTLM form I get "The requested resource (/upload) is not available."  Do I have to tell Tomcat where to find it.  If so, How do I do this.  Is it in the Server.xml or Web.xml,

0
Comment
Question by:mlcktmguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
caz_2001ie earned 375 total points
ID: 10871559
Hope this helps

1)Ensure your servlet is running to begin with

2)Try using the following format for calling your servlet from your html
- dont forget to specify the port 8080 which is the default web port on your computer
- login is the name of my servlet you should replace this with your servlet name with no dot extension  .just how you see it below

<FORM method="post" action="http://localhost:8080/login">
      <p>User Name: <input name=name type=text></p>
          <p>Password: <input name=password type=password></p>
<input type=submit name=submit value=submit>
        <input type=reset name=reset value=reset>
</font>
</FORM>
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question