?
Solved

Urgent .....Servlet Problem

Posted on 2003-04-01
5
Medium Priority
?
253 Views
Last Modified: 2010-04-20
Hi,

I had installed the tomcat server v4.1.24 and set everything according to the installation guide.I could able to run the HTML and JSP files but i could not able to run the servlets.what is the problem i could not trace out.I had put the servlet class files in the ROOT/WEB-INF/classes directory.
please let me know where is the problem and its very urgent...

MY system configurations is
Pentium 4 processor with 512 mb RAM
window 2000 server OS


thanks in advance.
satish
0
Comment
Question by:satishkm_g
[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
5 Comments
 
LVL 9

Expert Comment

by:mglxxx
ID: 8251657
Could you post your web.xml?
0
 
LVL 2

Accepted Solution

by:
java_programmer earned 400 total points
ID: 8255057
I know your problem.. just fixed it on my end.
Change web.xml in the conf folder...

Uncomment
  <!-- The mapping for the invoker servlet -->
    <servlet-mapping>
        <servlet-name>invoker</servlet-name>
        <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
And it will work.

The other option is to make sure EVERY one of your servlets appears in your web.xml as an alias... that is a pain.

cheers,
Derek
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

765 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