Solved

Can't run servlet

Posted on 2003-11-22
3
163 Views
Last Modified: 2010-04-06
Hi all, I'm trying to run a servlet (I have installed Tomcat and IIS 5) but just get an error: "HTTP Status 404 - /examples/Test". JSP and Servlet examples are running ok, but I don't know if some aditional configuration is needed.

Thanks.

Alex
Gutierrez
0
Comment
Question by:alexgm23
[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
3 Comments
 

Accepted Solution

by:
srmani earned 50 total points
ID: 9842257
Hi Alex,
Specify the servlet zone in the Request URI.  Use
http(s)://<myserver>:<myport>/servlet(s)/examples/Test.
Alternatively try to define an alais for the servlet and invoke the same using the alais.
Also, do ensure that you are using the class file name with the package details.
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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

632 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