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 va

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

servlet mappings

2009-10-30 Thread Chris Blackwell
I'm trying to get basic SES urls working, in the form of http://mysite.dev/index.cfm/foo/1/bar/2 Coldfusion 9's web.xml ships with the following servelt-mapping, but it doesn't seem to work on Tomcat CfmServlet *.cfm/* I just end up with 404's. Anyone suggest a way to achieve thi

Re: context.xml locations and servlet mappings

2007-06-04 Thread Pid
Angelov, Rossen wrote: Thank you for explaining about the META-INF location. Mine is following exactly the same pattern as you described, but still the servlet mappings are not functioning when using the META-INF/context.xml. When you define a Context inside the Host, the path attribute is

RE: context.xml locations and servlet mappings

2007-06-04 Thread Angelov, Rossen
Thank you for explaining about the META-INF location. Mine is following exactly the same pattern as you described, but still the servlet mappings are not functioning when using the META-INF/context.xml. Do you have any clues why this could be happening? The mappings work fine when inside the

Re: context.xml locations and servlet mappings

2007-06-04 Thread Pid
en there are more than one contexts per host? The problem seems to be somewhere else, but thanks for the advise. Ross -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, June 04, 2007 4:46 PM To: Tomcat Users List Subject: Re: context.xml locations a

RE: context.xml locations and servlet mappings

2007-06-04 Thread Angelov, Rossen
hultz [mailto:[EMAIL PROTECTED] Sent: Monday, June 04, 2007 4:46 PM To: Tomcat Users List Subject: Re: context.xml locations and servlet mappings -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ross, Angelov, Rossen wrote: > META-INF/context.xml > privileged="true"

Re: context.xml locations and servlet mappings

2007-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ross, Angelov, Rossen wrote: > META-INF/context.xml > privileged="true"> Take out the "path" and "docBase" parameters. They are either illegal or ill-advised when using META-INF/context.xml. This might not be /the/ problem, but you

context.xml locations and servlet mappings

2007-06-04 Thread Angelov, Rossen
Hi, I am experiencing a weird problem; when configuring my context in META-INF/context.xml, the servlet mappings stop working. I am trying to migrate web applications setup to run on Tomcat 5.0 to Tomcat 5.5 or 6. Currently one or more contexts are configured inside a host in server.xml. When I

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
/* default /images/* test / On 10/30/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Servlet Mappings > > > testerror > /error/* > The

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 ever

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

Servlet Mappings

2006-10-30 Thread ben short
Hi I am having some trouble with setting up my servlet mappings. I am replacing a legacy webapp but need to keep the same urls. The current webapp uses cocoon. Here is my web.xml http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchem

Security risk w/ identical Filter/Servlet mappings

2006-02-03 Thread Dennis Byrne
Some of the MyFaces users have noticed it is possible to access secure resources (like the deployment descriptor) when the front controller is mapped to the same URL pattern as the Filter. fooServlet /foo/* fooFilter /foo/* Consider the following 3 line doFil