Solved

Can't run servlet

Posted on 2003-11-22
3
160 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
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:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

827 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