PLEASE HELP Can't run my servlet url-pattern with Tomcat

Hi I'm trying to run servlet with Tomcat.
I have don the servlet with tomcat ide abd its runnig ok with Forte with the internal Tomcat
When I'm runing it with external Tomacat its not running at the url that I have given in the web.xml
web.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>ClaimsServlet</servlet-name>
<servlet-class>ild.claims.ClaimsServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>ild.claims.LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ClaimsServlet</servlet-name>
<url-pattern>/ild/claims/claims</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/ild/claims/LoginServlet</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
90
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
default.jsp
</welcome-file>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
</welcome-file-list>
</web-app>
if I runnig the url: /ild/servlet/ild/claims/ClaimsServlet
its running
but //ild/claims/claims
I got: The requested resource (/claims/claims) is not available.
Thanks for help
Snir

Do you have to use <url-pattern>/ild/claims/claims</url-pattern>
or you can use <url-pattern>/claims</url-pattern> ?

Similar Messages

  • Please help, can't run iTunes

    I last used my iTunes on Monday with no problem. When i tried to use today the message "iTunes cannot run because it has detected a problem with your audio configuration" came up. The same message appears when i connect my iPod. I have uninstalled iTunes and tried again, but the same message appears. Any ideas?

    Have you had a chance to look at this troubleshooting page? It may be of some help: iTunes 7 for Windows: iTunes has detected an audio configuration problem

  • I sign up for TAPJOY.While signing in,they install something in my PROFILE CONFIGURATION...When I check my Settings-General,I can't see the PROFILE OPTION! Please help me :) Im running ios 6.0.1

    I sign up for TAPJOY.While signing in,they install something in my PROFILE CONFIGURATION...When I check my Settings-General,I can't see the PROFILE OPTION! Please help me Im running ios 6.0.1

    Well, after another call with Apple support and the engineers, no success.  After spending over 20 hours trying to debug this, I give up.  Apple was basically fishing for a solution with trial-and-error settings on the iphone.  Then they wanted me to plug in software to log my iphone connections to the router, etc, etc., etc., at which point I decided I no longer wanted to participate in their testing process and will simply return the router.
    25 hours of my life I'll never get back.
    Big bummer, and frustrating for all the obvious reasons.

  • PLEASE HELP!!! using servlet to generate an image in jsp page

    Hi,
    I am so stuck on this... please help.
    I have a servlet that generated a gif image dynamically. It uses a bean that stores the gif image in a byte array.
    The servlet outputs the byte data to the output stream. The code is really simple and looks like this:
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            //HttpSession session = request.getSession();
            try {
                ServletOutputStream stream = response.getOutputStream();
                ImageByteInformation imageByteInfo = (ImageByteInformation) request.getAttribute("imageByteInformation");
                response.setContentType("image/gif");
                response.setContentLength(imageByteInfo.getByteData().length);
                stream.write(imageByteInfo.getByteData(), 0, imageByteInfo.getByteData().length);
                stream.flush();
            }catch( Exception e){   
                System.out.println("You are hooped!: " + e.getMessage() + " " + e.toString());           
            }When I redirect from the dispatch servlet straight to this servlet an image shows up in the browser window.
    However when I try to use this jsp page to display the image nothing happens...
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
            <h2>Hello World!</h2>
            <img src="servlets/Map24ImageDisplayServlet"/>
             //I also tried src/servlets/Map24..., /src/servlets/Map24..., /display, servlets/display
            <h2>Did you see the image?</h2>
        </body>
    </html>My web.xml is here if it helps...
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
      <display-name>HelloProject</display-name>
    <servlet>
        <display-name>ServletDispatcher</display-name>
        <servlet-name>ServletDispatcher</servlet-name>
        <servlet-class>servlets.ServletDispatcher</servlet-class>
      </servlet>
      <servlet>
        <display-name>Map24ImageDisplayServlet</display-name>
        <servlet-name>Map24ImageDisplayServlet</servlet-name>
        <servlet-class>servlets.Map24ImageDisplayServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>ServletDispatcher</servlet-name>
        <url-pattern>/hello</url-pattern>
      </servlet-mapping>
      <error-page>
        <error-code>404</error-code>
        <location>/404_error.html</location>
      </error-page>
      <servlet-mapping>
        <servlet-name>Map24ImageDisplayServlet</servlet-name>
        <url-pattern>/display</url-pattern>
      </servlet-mapping>
    </web-app>I can never get an image to come up. In fact I can never get the jsp page to run the servlet at all! HELP!!! What am I doing wrong?
    Thanks
    Edited by: Kind_of_Green on May 5, 2008 3:55 PM
    Edited by: Kind_of_Green on May 5, 2008 4:00 PM

    OK... so you WERE absolutely right about the src path for the image tag.
    However I also had another problem that was quite a bit more insidious and mostly just a symptom
    of how little I know about what goes on under the hood of a web app.
    My bean storing the image info was stored as a request attribute. When the servlet was called from the
    jsp page the request object was either reset or just never initialized. Anyway it is not the same request
    object I assumed it was being passed in the doGet method. I added my bean as a session
    attribute and everything is sparkly :)
    I can only assume that when a request is neither forwarded nor included (as is the case with
    calling the servlet from the img tag) it is disappeared.
    Anyway, thanks a mint man. I so totally appreciate your time.
    Ciao :)

  • Please help: Can't download itunes with windows 7 (64 bit).  Keeps freezing at 99%

    I have tried deleting and re-installing itunes and quicktime but it still won't work.  Please help.

    Can someone please respond to my request for support?  I tried the provided correct answer at https://discussions.apple.com/message/11561783#11561783  but it did not work. 
    I also got a MSFT tech support person to remotely look at my machine, for what its worth, he said the registry file is fine and to contact Apple support.
    Any help would be very much appreciated.

  • 4/30/2011.  Can you please help me.  I have an iBook G4 with Leopard OS 10.5. Yet how do I correct Website movies going flow-pause-flow-pause-flow etc?  Chuck Y Chicago

    4/30/2011.  Can you please help me.  I have an iBook G4 with Leopard OS 10.5 and latest Safari updates and maximum Ram (512 or 640 kb).  Yet how do I correct Website movies going flow-pause-flow-pause-flow etc?  The problem is with the iBook, not the website and movies.  Thank you.  Chuck Y Chicago

    5/2/2011.  Thank you all for your replies.  My iBook is in the third group of the website you referred me to.  I bought it July 5, 2004 at CDW near here.  It had OS 10.3.6.  1GB (GHz.  Power PC G4.), opaque white case. Its screen is 14.1 inches.  Soon after I bought it I had its 128 RAM raised to 640 RAM, to work with maximum capability for converting VCR recorded videos/movie into digital files and burning these onto DVDs.  Later I had an Airport card installed.  As time passed I opened the apple icon (upper left hand corner of the screen), and Softwate Update, and eventually had this install OS 10.5.8.  At first It could only be updated to OS 10.4.  But then after several years I bought Leopard OS 10.5.8 from the Apple store near here.  By then Leopard had been adapted to work on iBook G4.  Its specifications are described with the same Apple icon and About this Mac. 
    It will play You Tube and similar websites OK.  But videos/movies from websites such as hulu.com, ABC, CBS and so on, it displays a pattern of flow-pause-flow-pause-flow-pause-flow and so on.
    I thought first to see if this forum would have any suggestions.
    I think probably that its CPU has reached its limit; later Mac laptops have greater CPUs.
    Many thanks to you all.   C Yopst   Chicago

  • Please help. just got my jabra halo, worked fine with my iphone4 but can't use it on my macbook pro. it always prompts " the devise does not have the necessary service

    please help. just got my jabra halo, worked fine with my iphone4 but can't use it on my macbook pro. it always prompts " the devise does not have the necessary service

    Found these instructions here:
    https://discussions.apple.com/message/15388885#15388885
    I found an answer that worked for me. I am using an iMac.
    (1) Sign out of the iTunes store
    (2) Open a NEW account with a new Apple ID
    (3) Go through the sign up process and then go to the ACCOUNT INFORMATION page
    (4) Go to RECOMENDATIONS & PING POSTING
    (5) Turn on Genius there
    Once the Genius updates, you can sign out and then sign in under your original Apple ID or the e-mail address you use for the iTunes store. All my store credit was there and now Genius worked.
    Rather odd but I actually like the Genius at times except when it can't deal with some of my lesser known bands that I listen to.
    Worked for me.

  • Can someone please help - I want to sync my icloud calendar with my iphone calendar.  All of my entries from previous months are on my icloud calendar but not my iphone.  How do I get them back on there?

    Can someone please help - I want to sync my icloud calendar with my iphone calendar.  All of my entries from previous months are on my icloud calendar but not my iphone.  How do I get them back on there?  I have corrected my settings for future entries (I think/hope) but want to put the old stuff back on.

    Try this...
    Settings > Mail, Contact, Calendars.  Scroll down to Calendars and set "Sync" as desired.

  • Please help me! My MacBook was stolen along with an external hard drive that had all my photos of my children on them. I hadn't backed to iCloud or backed anywhere else. I am distraught. No find my mac either...help...please...

    Please help me! My MacBook was stolen along with an external hard drive that had all my photos of my children on them. I hadn't backed to iCloud or backed anywhere else. I am distraught. No find my mac either...help...please... Some programmes are still running like drop of and Skype... Is it all over?!?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • Please help Apple??? It worked fine with Snow Leopard??

    I recently upgraded to Lion and now cant see my Windows 7 laptop in network? Or see my macbook Air 2010 on my win7 laptop. Please help Apple??? It worked fine with Snow Leopard??

    You're not addressing Apple here, you are addressing a user based community.  An Apple employee may read your post but he/she will not officially respond to it.
    You didn't say if your networking is Wi-Fi or USB Dongle based so I'm assuming Wi-Fi in this response. If you do a search of the forums you will find that quite a few are having Wi-Fi issues with Lion--things that worked fine with Snow Leopard are flakey or don't work at all with Lion so your problem may be another instance of the Wi-Fi issues in Lion.  If not, then perhaps someone with knowledge of your specific issue will post.  I see my other Macs (MBP, 24" iMac, 27" iMac all running Lion) fine but I don't have a PC to test.

  • Please help me to do Completed Tasks Excel Report with Odata Query

    Please help me to do Completed Tasks Excel Report with Odata Query

    Hello,
    If you use the link below in Internet Explorer you will find all of the properties and feeds for the Odata API:
    < site URL>/_api/ProjectData/$metadata
    That should help you find the data you need.
    For more details, see this post:
    https://pwmather.wordpress.com/2014/07/17/getting-started-with-projectonline-part-9-ps2013-office365-project-ppm-sharepointonline-pm-sp2013/
    Hope that helps
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • I have a problem with iphone4 I bought a used and unlocked iphone4 old apple id because the first owner dies please help me how to activate iphone4 I unlocked with icloud

    I have a problem with iphone4
    I bought a used and unlocked iphone4
    old apple id because the first owner dies
    please help me how to activate iphone4
    I unlocked with icloud

    fherly nur arief wrote:
    I unlocked with icloud
    If you had already removed the device from 'Find My iPhone' in iCloud, then you jus tneed to powercycle the device in order to activate it.
    Source: http://support.apple.com/kb/TS4515
    "After the device is removed from the previous owner’s account, turn the device off by pressing and holding the Sleep/Wake button located on the top-right side of the device. Then restart your device and proceed with device setup as you would normally."
    If it has not been removed, then the activation lock is still active.
    If the previous owner cannot remove the device from their account there is nothing you can do unless the place you purchased it from will give you a refund.
    Activation Lock: http://support.apple.com/kb/ht5818
    What if I purchase a device that is still linked to the previous owner's account?
    Contact the previous owner as soon as possible and ask them to erase the device and remove it from their account. For complete instructions, read how to remove a device from a previous owner's account.
    How do I check for Activation Lock before purchasing a used device?
    When purchasing an iPhone, iPad, or iPod touch from someone other than Apple or an authorized Apple reseller, it is up to you to ensure that the device has been erased and is no longer linked to the previous owner’s account.
    Follow each of these steps to make sure that you can use the device you purchase:
    Turn the device on and slide to unlock.If the passcode lock screen or the home screen appears, the device has not been erased. Ask the seller to completely erase the device by going to Settings > General > Reset > Erase All Content and Settings. Do not take ownership of any used iPhone, iPad, or iPod touch until it has been erased.
    Begin the device setup process.After choosing a language, choosing a country, and connecting to a network, the device will begin activation. If you are asked for the previous owner’s Apple ID and password, the device is still linked to their account. Hand the device back to the seller and ask them to enter their password. If the previous owner is not present, they can remove the device from their account by signing in to icloud.com/find. Do not take ownership of any used iPhone, iPad, or iPod touch until it has been removed from the previous owner’s account.
    You will know that a device is ready for you to use when you are asked to “Set up your iPhone", “Set up your iPad", or “Set up your iPod” during the device setup process.

  • Can we run oracle Forms 5 Application with 10G in Client/Server?

    Hi All,
    Can we run oracle Forms 5 Application with 10G in Client/Server
    Mode?
    Regards
    Gaurav

    In theory you can run it 2 tier - which means that you have the client (the machine the user is sitting at) being the same machine in which the forms application server is running. So yes. But specifically, we don't support a client server runtime anymore. 6i was the last version.
    With 10g you will be running through a browser.
    Regards
    grant

  • Hello Please help me   I have worked erased     IPhone exists with me     But did not finish the process erased     What is the solution??

    Hello
    Please help me
    I have worked erased
    IPhone exists with me
    But did not finish the process erased
    What is the solution??

    Post in your native language, the above make not sense.

  • Can Tiger run a dual boot system with the two internal hard drives

    Can Mac run a dual boot system with the two internal hard drives both running Tiger?
    Dual 2.5GHz G5
    I am wanting to use one hard drive with Tiger to run my graphics stuff and then reboot and use the other hard drive for video.

    Yes, you can set that configuration up.
    (26293)

Maybe you are looking for