Re: [OT] Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
n > > > - Original Message - > From: "Shapira, Yoav" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Monday, November 22, 2004 12:12 PM > Subject: RE: Servlet mapping problem. > > > > Hi, > D

[OT] Re: Servlet mapping problem.

2004-11-22 Thread Stefan
; <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 12:12 PM Subject: RE: Servlet mapping problem. Hi, Do you get any errors in your log on startup? Are you running Tomcat as a Windows service, or from the command line? Yoav Shapira http://www.yoavshapira.com >-Original Messag

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
t Users List >Subject: Re: Servlet mapping problem. > >Yoav, > >As I stated in a previous post - I actually included the context name in >the >context.xml file, I just omitted it in my email. > >Beyond that, I initially did not include a context.xml file - but it did &g

[OT] Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
sion of Tomcat if it's installed in > the 'Program Files' directory - that is to say, could it be some physical > path issue? > > Thanks, > > > Stefan > > > > - Original Message - > From: "Ben Souther" <[EMAIL PROTECTE

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
v" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 11:58 AM Subject: RE: Servlet mapping problem. Hi, The problem is that you've messed up your configuration. You created context.xml and you created your static HTML

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
ical path issue? Thanks, Stefan - Original Message - From: "Ben Souther" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 11:41 AM Subject: Re: Servlet mapping problem. > If you're interested, I&

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
ve a context.xml file, it's up to you to learn how to use it. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Stefan [mailto:[EMAIL PROTECTED] >Sent: Monday, November 22, 2004 11:54 AM >To: Tomcat Users List >Subject: Re: Servlet mapping problem. > &

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
- Original Message - From: "Ben Souther" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 11:41 AM Subject: Re: Servlet mapping problem. > If you're interested, I've got some simple apps all WARed up on my

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
x27;t work ... Thanks for your help. Stefan - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 11:34 AM Subject: RE: Servlet mapping problem. Hi, >I actually

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
Souther" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Monday, November 22, 2004 10:40 AM > Subject: Re: Servlet mapping problem. > > > > In your context tag, your specifying: path="" > > but in your url you&

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, >I actually put the context reference in the context tag ... just something >I >omitted in the email. But alas, it still does not work ... >I'm actually going to see if I can get the client to use Resin (for some >reason, everything works fine is Resin ... out of the box), frankly at this >p

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
this point I'm not too impressed the Tomcat. Thanks Ben. Stefan - Original Message - From: "Ben Souther" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 10:40 AM Subject: Re: Servlet mapping problem

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
> > > - Original Message - > From: "Ben Souther" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Monday, November 22, 2004 10:19 AM > Subject: Re: Servlet mapping problem. > > > > Why don't you

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
e, my web app is sitting in the 'webapps' directory in Tomcat. Any ideas? Stefan www.killersites.com - Original Message - From: "Ben Souther" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 10:19 A

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
mcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 10:12 AM Subject: RE: Servlet mapping problem. Hi, > > >name: > > > > I meant the server-side code, not the HTML output. >Q. Accordingly, how do you generate this element? >A. I'

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
the servlet: > > > loginResponse > /loginResponse.do > > > > Does this shed any light on what is going on? > > > Stefan > > www.killersites.com > > > - Original Message - > From: "Stefan" <[EMAIL PROTECTE

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, > > >name: > > > > I meant the server-side code, not the HTML output. >Q. Accordingly, how do you generate this element? >A. I'm not sure what you mean, it's just a hard-coded HTML form. It shouldn't be. Try a relative URL instead. >Q. I assume you don't have the webapp's name hard-cod

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
rom: "Stefan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, November 21, 2004 10:31 PM Subject: Re: Servlet mapping problem. > Hi, > > I am actually using a form to post to the target servlet: > > > > name: &g

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
tion attribute? If so, is that a problem? Thanks, Stefan www.killersites.com - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 9:03 AM Subject: RE: Servlet mapping

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Tomcat Users List >Subject: Re: Servlet mapping problem. > >Hi, > >This is my web.xml for the web app: > > > >2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";> > > index.jsp > > > authentication filter > com._XYZ.authenticateAdminF

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
riginal Message - > From: "Stefan" <[EMAIL PROTECTED]> > Newsgroups: gmane.comp.jakarta.tomcat.user > Sent: Monday, November 22, 2004 5:36 AM > Subject: Re: Servlet mapping problem. > > > > Hi, > > > > I'm not using struts. > > > > Stefan

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, >message /loginResponse.do > >description The requested resource (/loginResponse.do) is not available. It seems the context_name part of your element is blank, missing, or wrong, since the page is asking for /loginResponse.do and not /whatever/loginResponse.do. Accordingly, how do you gener

Re: Servlet mapping problem.

2004-11-22 Thread Andoni
Monday, November 22, 2004 5:36 AM Subject: Re: Servlet mapping problem. > Hi, > > I'm not using struts. > > Stefan > > www.killersites.com > > > - Original Message - > From: "sven morales" <[EMAIL PROTECTED]> > To: "Tom

Re: Servlet mapping problem.

2004-11-21 Thread Stefan
Hi, I'm not using struts. Stefan www.killersites.com - Original Message - From: "sven morales" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 12:25 AM Subject: Re: Servlet mapping problem.

Re: Servlet mapping problem.

2004-11-21 Thread sven morales
an > > www.killersites.com > > ----- Original Message - > From: "sven morales" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > <[EMAIL PROTECTED]> > Sent: Sunday, November 21, 2004 9:58 PM > Subject: Re: Servlet mapping problem. > >

Re: Servlet mapping problem.

2004-11-21 Thread Stefan
ber 21, 2004 9:58 PM Subject: Re: Servlet mapping problem. >Can you show us what you type in to your browser? > > --- Stefan <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I first posted this question with the wrong subject > > heading ... sorry

Re: Servlet mapping problem.

2004-11-21 Thread sven morales
Can you show us what you type in to your browser? --- Stefan <[EMAIL PROTECTED]> wrote: > Hi, > > I first posted this question with the wrong subject > heading ... sorry about > the duplicates. > > My question: > > Using Tomcat 5.0.28 standalone on windows XP with > JVM 1.4, I get this erro

Re: Servlet mapping problem

2004-09-29 Thread Michael McGrady
Anto Paul wrote: Hi there, I posted this to Tomcat User List. I didnt posted this to Struts. Although the application is using Struts it is not specific to Struts. rgds Anto Paul On Wed, 29 Sep 2004 00:59:53 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: Anto Paul wrote: Hi all, I am wr

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
av Shapira Millennium Research Informatics >-Original Message- >From: Anto Paul [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 29, 2004 10:06 AM >To: Tomcat Users List >Subject: Re: Servlet mapping problem > >What if I use a filter ?. I will map it like this

Re: Servlet mapping problem

2004-09-29 Thread Anto Paul
What if I use a filter ?. I will map it like this MappingFilter / MappingFilter /* In filter I forward to the path substituted with the directory. With servlet I failed to achieve what I want. I am sceptical about using a forward in a filter.

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
Hi, >However, I am sure about the fact, that you cannot map a single url such as >"/". >(Yes, you can define a mapping of "/", but that maps to EVERY request, NOT >to the root url only.) No. You're mistaking the default configuration for something that's hard-coded. Out of the box, "/" is mapp

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
Hi, >You cannot map a single url. Tomcat only maps prefixes. So, you cannot map Really? Where did this nugget come from? ;) I nearly choked on my (otherwise fabulous) croissant. Your assertion above is wrong. Tomcat implements servlet mapping exactly as required by the Servlet Specification

Re: Servlet mapping problem

2004-09-29 Thread Anto Paul
Hi there, I posted this to Tomcat User List. I didnt posted this to Struts. Although the application is using Struts it is not specific to Struts. rgds Anto Paul On Wed, 29 Sep 2004 00:59:53 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > > > Anto Paul wrote: > > >Hi all, > > I am writ

Re: Servlet mapping problem

2004-09-29 Thread Michael McGrady
Anto Paul wrote: Hi all, I am writing an application which have to serve content based on the hostname it is requested. Different hosts will be set to same ROOT directory. There wont be any content at the ROOT. Everything will be on subdirectories. I wrote a servlet with mapping as / . But when it

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
Howdy, > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > >If I want multiple appBase directories for this host, can I define >multiple host lines, changing the appBase directive for each one? Each host has one appBase directory. You can eithe

RE: servlet mapping problem

2004-02-25 Thread Jason Keltz
Thanks, Yoav. Using localhost:8080/test works if the docBase in the context is defined to include test. However, as you suggested, I'm trying to create a directory with multiple webapps, and I want to have multiple directories like this. For example: /cs/home/jas/webapps1/app1 /cs/home/jas/weba

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
Howdy, >Context block should be in conf/server.xml file. It doesn't have to be, and with tomcat 5 that's actually discouraged. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or

Re: servlet mapping problem

2004-02-25 Thread BAO RuiXian
Jason Keltz wrote: Hi. I am very troubled over a servlet mapping problem, and I am hoping that someone can make a suggestion. I have added a context in conf/Catalina/localhost/test.xml as follows: Context block should be in conf/server.xml file. Best Bao In "/cs/home/jas/webapps/test",

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
Howdy, >I am very troubled over a servlet mapping problem, and I am hoping that >someone can make a suggestion. > >I have added a context in conf/Catalina/localhost/test.xml as follows: > >autoDeploy="true"> > >In "/cs/home/jas/webapps/test", I have a directory "test" with a >"WEB-INF" directory

RE: Servlet mapping problem in Tomcat 4.1.24

2003-07-29 Thread Bodycombe, Andrew
There are 2 ways you can use wildcards in URL mappings: 1. /content/* - maps all URLs in the content directory to your servlet 2. *.vp - maps all URLs with a .vp extension to your servlet You cannot mix these (/content/*.vp, for example) The servlet specification discusses this. Look at section

RE: servlet-mapping problem

2002-02-26 Thread Mark B. Indictor
=== -Original Message- From: Dave Ferguson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 12:11 PM To: Tomcat Users List Subject: Re: servlet-mapping problem This is basic stuff. It should work. What URL are you using to invoke the servlet?

Re: servlet-mapping problem

2002-02-26 Thread Dave Ferguson
This is basic stuff. It should work. What URL are you using to invoke the servlet? With no mapping the URL would be http://server/servlet/warservlet. If your mapping is /blah then the URL would be http://server/blah. Restart Tomcat to be sure your changes take effect. - df Takeshi L T

Re: servlet-mapping problem - tomcat 4.0.1

2001-12-21 Thread Scott Eade
From: "Craig R. McClanahan" <[EMAIL PROTECTED]> > On Fri, 21 Dec 2001, Scott Eade wrote: > > Subject: servlet-mapping problem - tomcat 4.0.1 > > > > How do I default a user to my servlet without blocking access > > to other directories? Using a default mapping of "/" results in > > failure to gai

Re: servlet-mapping problem - tomcat 4.0.1

2001-12-21 Thread Craig R. McClanahan
On Fri, 21 Dec 2001, Scott Eade wrote: > Date: Fri, 21 Dec 2001 23:53:42 +1100 > From: Scott Eade <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: servlet-mapping problem - tomcat 4.0.1 > > How do I default a user to my servlet without blo

RE: servlet-mapping problem - tomcat 4.0.1

2001-12-21 Thread Cox, Charlie
MyServlet index.html I think you have to have an empty "index.html" file to convince the that its valid. This will take all index.html files, so if you have other index.html files in other directories, add a dummy.html to the list and map it to your servlet. I recall doing t

RE: servlet-mapping problem - tomcat 4.0.1

2001-12-21 Thread SHeyns
set the welcome file list element to the URL address you want to default to Something like - pages/main.jsp This will default a user going to your context to the file pages/main.jsp - Tomcat (4.1) has a few default context attributes which are located in the CATALINA_HOME/conf/web.xml whic

Re: servlet-mapping problem - tomcat 4.0.1

2001-12-21 Thread ian silvester
Its a little clunky, but you could use your second 'foo' mapping, and then have an index.htm that does a meta-refresh to redirect them to your servlet: Not nice and invisible I know, but it'll work.. ian - Original Message - From: "Scott Eade" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

Re: servlet-mapping problem (Solved! Wahay!)

2001-09-14 Thread Paul Downs
Hi, Got it working eventually by the way, for anyone that is interested. This is using mod_jk to communicate with a tomcat that is *not* listening on port 8080. web.xml: ShoppingBasket com.mysite.utils.shopping.basket

Re: servlet-mapping problem

2001-09-14 Thread Craig R. McClanahan
On Fri, 14 Sep 2001, Paul Downs wrote: > Date: Fri, 14 Sep 2001 11:35:25 +0100 > From: Paul Downs <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], > Paul Downs <[EMAIL PROTECTED]> > To: tomcat <[EMAIL PROTECTED]> > Subject: servlet-mapping problem > > Hi, > Still cannot use servlet-map

RE: servlet-mapping problem

2001-09-14 Thread Andy Bailey
:14 PM To: [EMAIL PROTECTED] Subject: RE: servlet-mapping problem Hi, > >*.ase >AServlet > Thanks for the response. I am trying to use: HelloWorld /doHello Where a whole directory is mapped to a servlet, I have tried diff

RE: servlet-mapping problem

2001-09-14 Thread Paul Downs
Hi, Ah oops further to previous reply, could it be because the url I am trying to use: http://domain/doHello Is not even getting to tomcat, the url error is returned by apache. Is this a configuration problem or is it because I am using mod_jk and apache? I don't really want to pass

RE: servlet-mapping problem

2001-09-14 Thread Paul Downs
Hi, > >*.ase >AServlet > Thanks for the response. I am trying to use: HelloWorld /doHello Where a whole directory is mapped to a servlet, I have tried different forms: /doHello/* But to no avail. Paul

RE: servlet-mapping problem

2001-09-14 Thread Andy Bailey
Here is an example of a Servlet and URL mapping AServlet my.package.AServlet *.ase AServlet The servlet mapping associates the name AServlet to the servlet my.package.AServlet. The URL mapping means that ANY request that ends in .ase will be passed to the associated servlet v

RE: Servlet Mapping Problem -- ???

2001-02-12 Thread Hunter Hillegas
--- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, February 09, 2001 12:34 PM To: [EMAIL PROTECTED] Subject: Re: Servlet Mapping Problem -- ??? Hunter Hillegas wrote: > I have a strange problem with Tomcat 3.2 that I can't figure out... > > I have two

RE: Servlet Mapping Problem -- ???

2001-02-12 Thread Hunter Hillegas
Stern & Sons, Inc. [EMAIL PROTECTED] 805-565-1411 PH * 805-565-8684 FAX -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, February 09, 2001 12:34 PM To: [EMAIL PROTECTED] Subject: Re: Servlet Mapping Problem -- ??? Hunter Hillegas w

Re: Servlet Mapping Problem -- ???

2001-02-11 Thread Hunter Hillegas
han" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 9 Feb 2001 12:33:47 -0800 > To: [EMAIL PROTECTED] > Subject: Re: Servlet Mapping Problem -- ??? > > Hunter Hillegas wrote: > >> I have a strange problem with Tomcat 3.2 that I can't figure out...

RE: Servlet Mapping Problem -- ???

2001-02-09 Thread Hunter Hillegas
s, MCP Web Engineer / System Administrator - Jacob Stern & Sons, Inc. [EMAIL PROTECTED] 805-565-1411 PH * 805-565-8684 FAX -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, February 09, 2001 12:34 PM To: [EMAIL PROTECTED] Subject: Re: S

Re: Servlet Mapping Problem -- ???

2001-02-09 Thread Craig R. McClanahan
Hunter Hillegas wrote: > I have a strange problem with Tomcat 3.2 that I can't figure out... > > I have two servers, a development server and a production server. The > development server is working just fine. I have a servlet called > marketCustomerVendorController that is mapped to > /marketCus

Re: Servlet mapping problem

2001-01-04 Thread Craig R. McClanahan
Marco Leal wrote: > I don't know if this message got through the first time I sent it. If > you're seeing it again, I'm sorry. > Two questions: * What version of Tomcat? If it's less than 3.2 you should upgrade. * Are you running Tomcat stand-alone or behind a web server like Apache. If it