Re: servlet mappings

2009-11-01 Thread Mark Thomas
Peter Crowther wrote: > 2009/10/30 Caldarale, Charles R : >> Note that several servlet containers silently implement "enhancements" to >> the spec that simply cause confusion and limit portability. > > ... and are handy for some real-world use cases, such as creating a > RESTful web service witho

Re: servlet mappings

2009-10-31 Thread Peter Crowther
2009/10/30 Caldarale, Charles R : > Note that several servlet containers silently implement "enhancements" to the > spec that simply cause confusion and limit portability. ... and are handy for some real-world use cases, such as creating a RESTful web service without the overhead of Axis or withi

Re: servlet mappings

2009-10-31 Thread Chris Blackwell
yeah, that what surprised mr. that someone would design something that looks so much like a wildcats, but actually it's not On 31 Oct 2009, at 09:08, André Warnier wrote: Juha Laiho wrote: ... CfmServlet *.cfm/* I don't think the above mapping is valid. Seconded, and tried a

Re: servlet mappings

2009-10-31 Thread André Warnier
Juha Laiho wrote: ... CfmServlet *.cfm/* I don't think the above mapping is valid. Seconded, and tried a few variations with Tomcat to verify my expectations. One way would be to explicitly declare all different .cfm prefixes, like I agree with what you are both saying of

Re: servlet mappings

2009-10-30 Thread Juha Laiho
Caldarale, Charles R wrote: From: Chris Blackwell [mailto:ch...@team193.com] Subject: servlet mappings Coldfusion 9's web.xml ships with the following servlet-mapping, but it doesn't seem to work on Tomcat CfmServlet *.cfm/* I don't think the above mapping is valid. Seconded,

RE: servlet mappings

2009-10-30 Thread Caldarale, Charles R
> From: Chris Blackwell [mailto:ch...@team193.com] > Subject: servlet mappings > > Coldfusion 9's web.xml ships with the following servelt-mapping, but it > doesn't seem to work on Tomcat > > CfmServlet > *.cfm/* > I don't think the above mapping is valid. To quote from the servl

Re: Servlet Mappings

2006-10-31 Thread ben short
ntroller"> >> >> >> >>> class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> >> >> >>testController >> >> >> >> >>&

Re: Servlet Mappings

2006-10-30 Thread Bill Barker
andlerMapping"> >> >> >> testController >> >> >> >> >>> class="org.springframework.web.servlet.view.InternalResourceViewResolver"> >&g

RE: Servlet Mappings

2006-10-30 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Servlet Mappings > > >default >/images/* > Thanks for the example. With that, turning on debugging, and looking at the code in DefaultServlet.java, I finally figured out what'

Re: Servlet Mappings

2006-10-30 Thread ben short
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Subject: Re: Servlet Mappings > > > > Im deploying a war file. Im also using spring. I havent touched the > > web.xml. I have litrally downloaded and un tared the file from the > > apache tomcat website. >

Re: Servlet Mappings

2006-10-30 Thread ben short
m: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Servlet Mappings > > Im deploying a war file. Im also using spring. I havent touched the > web.xml. I have litrally downloaded and un tared the file from the > apache tomcat website. I'm not familiar with configuring

RE: Servlet Mappings

2006-10-30 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Servlet Mappings > > Im deploying a war file. Im also using spring. I havent touched the > web.xml. I have litrally downloaded and un tared the file from the > apache tomcat website. I'm not familiar with

Re: Servlet Mappings

2006-10-30 Thread ben short
jsp/ .jsp org.springframework.web.servlet.view.JstlView On 10/30/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > > Subject: RE: Servl

Re: Servlet Mappings

2006-10-30 Thread ben short
arale, Charles R <[EMAIL PROTECTED]> wrote: > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Servlet Mappings > > What's the directory structure under ROOT? Is ROOT under > your 's appBase? For that matter, what's the > directory structure

RE: Servlet Mappings

2006-10-30 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Servlet Mappings > > What's the directory structure under ROOT? Is ROOT under > your 's appBase? For that matter, what's the > directory structure under appBase? Should have mentioned tha

RE: Servlet Mappings

2006-10-30 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Servlet Mappings > > My webapp is deployed as ROOT. What's the directory structure under ROOT? Is ROOT under your 's appBase? For that matter, what's the directory structure under appBase? > If

Re: Servlet Mappings

2006-10-30 Thread ben short
[mailto:[EMAIL PROTECTED] > Subject: Re: Servlet Mappings > > I changed the mapping to as follows but no joy. Although the problem > seems to of changed slightly. When I try to request an images > http://myhost/images/error/logo.gif i get a 404. I have double checked > and the image

RE: Servlet Mappings

2006-10-30 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Servlet Mappings > > I changed the mapping to as follows but no joy. Although the problem > seems to of changed slightly. When I try to request an images > http://myhost/images/error/logo.gif i get a 404. I h

Re: Servlet Mappings

2006-10-30 Thread ben short
Hi, I changed the mapping to as follows but no joy. Although the problem seems to of changed slightly. When I try to request an images http://myhost/images/error/logo.gif i get a 404. I have double checked and the image is definatly in the correct location. testerror /error/*

RE: Servlet Mappings

2006-10-30 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Servlet Mappings > > > testerror > /error/* > The above is correct; note the trailing "/*". > > test > / > This one says to send everything that doesn't match something else to th

Re: Servlet Mappings

2006-10-30 Thread Christopher Schultz
Ben, > With this setup requests that start with /error go to the testerror > servlet, all other requests go to the test servlet. Just a guess, but I would try putting this catch-all servlet mapping: test / at the end of the mappings. Or at the beginning if that doesn't wo