Re: Servlet mapping issue

2010-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 6/24/2010 1:29 PM, laredotornado wrote: > But visiting the URL > > http://mydomain.com/context-path/play/music/includes/venue-listing.jsp?id=3&type=venues > > gives a 404. Just a thought: are you sure it's the servlet that can't be found?

Re: Servlet mapping issue

2010-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/25/2010 12:47 PM, Caldarale, Charles R wrote: >> From: laredotornado [mailto:laredotorn...@gmail.com] >> Subject: Re: Servlet mapping issue >> >> Did you mean to say, call it WITHOUT the params at the end? >

Re: Servlet mapping issue

2010-06-25 Thread Konstantin Kolinko
2010/6/24 laredotornado : > > I tried this too and still got the 404. > >         >                MusicVenueServlet >                /play/music/venues/* > > /play/music/includes/venue-listing.jsp >         > > I also tried escaping the period in the file extension ("\.jsp"), but no > luck.  Any i

Re: Servlet mapping issue

2010-06-25 Thread Pid
On 25/06/2010 17:37, laredotornado wrote: > > Did you mean to say, call it WITHOUT the params at the end? If so, when I > did that, everything mapped fine. However, I do need the query params to > process the page correctly. Sadly, this url-pattern didn't work > > > Mu

RE: Servlet mapping issue

2010-06-25 Thread Caldarale, Charles R
> From: laredotornado [mailto:laredotorn...@gmail.com] > Subject: Re: Servlet mapping issue > > Did you mean to say, call it WITHOUT the params at the end? No, leave the params in, but omit the .jsp suffix in the URL. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/

Re: Servlet mapping issue

2010-06-25 Thread laredotornado
Did you mean to say, call it WITHOUT the params at the end? If so, when I did that, everything mapped fine. However, I do need the query params to process the page correctly. Sadly, this url-pattern didn't work MusicVenueServlet /play/music/venues/*

Re: Servlet mapping issue

2010-06-25 Thread Pid
On 24/06/2010 19:24, laredotornado wrote: > > I tried this too and still got the 404. > > > MusicVenueServlet > /play/music/venues/* > > /play/music/includes/venue-listing.jsp > > > I also tried escaping the period in the file ext

RE: Servlet mapping issue

2010-06-24 Thread laredotornado
I tried this too and still got the 404. MusicVenueServlet /play/music/venues/* /play/music/includes/venue-listing.jsp I also tried escaping the period in the file extension ("\.jsp"), but no luck. Any ideas how to troubleshoot th

RE: Servlet mapping issue

2010-06-24 Thread Caldarale, Charles R
> From: laredotornado [mailto:laredotorn...@gmail.com] > Subject: Servlet mapping issue > > /play/music/includes/venue-listing You left the .jsp off the end of venue-listing. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by

Re: Servlet mapping issue

2009-03-13 Thread André Warnier
Sergio Arrighi wrote: [...] Thanks for the info you put here. That was very clear, if even I understand. When I try my application and I click on the button which make an AJAX post request on this servlet the browser returns an error (404 not found) I think what you need to provide here,

RE: Servlet mapping issue

2009-03-13 Thread Caldarale, Charles R
> From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com] > Subject: Re: Servlet mapping issue > > When I try my application and I click on the button which > make an AJAX post request on this servlet the browser returns > an error (404 not found) For initial testing, ta

Re: Servlet mapping issue

2009-03-13 Thread David Smith
Sergio Arrighi wrote: > Hi! > Thanks for the really quick answer. > It's probabily something really basic to do, but I'm a newbie and I'm > not able to do it: > I have an application (lets call it APP1) and it's organized like this: > > APP1 > - WEB-INF > +++ lib >

Re: Servlet mapping issue

2009-03-13 Thread Gregor Schneider
What's in your access-log? Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To unsubscribe

Re: Servlet mapping issue

2009-03-13 Thread Sergio Arrighi
Hi! Thanks for the really quick answer. It's probabily something really basic to do, but I'm a newbie and I'm not able to do it: I have an application (lets call it APP1) and it's organized like this: APP1 - WEB-INF +++ lib . myJar.jar (contains the package

RE: Servlet mapping issue

2009-03-13 Thread Caldarale, Charles R
> From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com] > Subject: Servlet mapping issue > > Here's my question Is it possible to add a servlet mapping > which points directly to the servlet contained in the .jar file > of my tree menu? Well... yes. Servlet mapping is explained in t