From: "Brian Schneider"
Sender: "Brian Schneider"
Reply-To: "Brian Schneider"
Subject: Re: One servlet works - the other servlet gives a 404 invoked - they seem to be configured the same
Newsgroups: weblogic.developer.interest.servlet
X-User-Info: 165.89.84.88
References: <3f3b98e9$1@newsgroups.bea.com> <3f3ba6b6@newsgroups.bea.com>
NNTP-Posting-Host: 165.89.84.88
X-Original-NNTP-Posting-Host: 165.89.84.88
Message-ID: <3f3ba876$1@newsgroups.bea.com>
Date: 14 Aug 2003 08:19:18 -0700
X-Trace: newsgroups.bea.com 1060874358 165.89.84.88 (14 Aug 2003 08:19:18 -0700)
X-Original-Trace: 14 Aug 2003 08:19:18 -0700, 165.89.84.88
Organization: BEA NEWS SITE
Lines: 52
XPident: Unknown
Path: newsgroups.bea.com!not-for-mail
Xref: newsgroups.bea.com weblogic.developer.interest.servlet:9664


I changed it like you said. I still get the 404 and the JspView still works.

I appreciate the help!

"Deepak Vohra" wrote:
>
>
>Set the url-pattern to /servlet/ExportExcel
>
>
>
>ExportExcel
>
>/servlet/ExportExcel
>

>
>Run servlet from browser with url:
>http://localhost:7001/app/servlet/ExcelExport
>
>Brian Schneider wrote:
>>I have 2 servlets. One is called JspView in the view package, and the
>>other is called ExcelExport in the export package. The JspView runs
>>fine when invoked by:
>>http://serverort/app/servlet/view.JspView
>>
>>The ExcelExport displays the 404 error when invoked by:
>>http://serverort/app/servlet/export.ExcelExport
>>
>>I have tried many different things including changing the name of the
>>package but it still doesn't work. Note: This does work fine in Tomcat...
>>but I guess that doesn't help here.
>>
>>My web.xml is below:
>>
>> JspView
>> view.JspView
>>

>>
>> ExportExcel
>> export.ExportExcel
>>

>>
>> JspView
>> /servlet/view.JspView
>>

>>
>> ExportExcel
>> /servlet/export.ExportExcel
>>

>