Solved

Can't run servlet

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
character entities and entity references in XML 17 111
Node js - send response after all promises are resolved 1 51
Problem to file 3 67
Randomize in Owl Carousel v1.3.2 6 20
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now