Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can't run servlet

Posted on 2003-11-22
3
Medium Priority
?
166 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 200 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

670 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