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
the file extension ("\.jsp"), but no >>> luck. Any ideas how to troubleshoot the problem further? - Dave >> >> Does the JSP have any includes from the same directory, that might work >> when you're using the /* ending, but not when you're using the

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
ending, but not when you're using the single JSP? > > If you put the mapping back to: > > /play/music/includes/venue-listing > > and call it with the params on the end, does it work then? > > > p > > >> n828cl wrote: >>> >>>&

Re: Servlet mapping issue

2010-06-25 Thread Pid
If you put the mapping back to: /play/music/includes/venue-listing and call it with the params on the end, does it work then? p > n828cl wrote: >> >>> From: laredotornado [mailto:laredotorn...@gmail.com] >>> Subject: Servlet mapping issue >>> >>> /p

RE: Servlet mapping issue

2010-06-24 Thread laredotornado
oubleshoot the problem further? - Dave n828cl wrote: > >> 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 >

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

Servlet mapping issue

2010-06-24 Thread laredotornado
play/music/includes/* everything maps fine. But I don't want to map everything in that directory, only a single file. Any ideas? Thanks - Dave -- View this message in context: http://old.nabble.com/Servlet-mapping-issue-tp28984816p28984816.html Sent from the Tomcat - User mailing li

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
ake an AJAX > post request on this servlet the browser returns an error (404 not found) > > Sorry to bother but I'm new! > Thanks > > Sergio > > Caldarale, Charles R ha scritto: >>> From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com] >>> Subje

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
ha scritto: 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

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

Servlet mapping issue

2009-03-13 Thread Sergio Arrighi
Hello to everyone, I've developed a tree menu which uses a Servlet and AJAX posts. I've exported it as a jar and now I want to include it in another webapp. The problem is that this webapp cannot reach the servlet obviously because it's not mapped in web.xml. Here's my question Is it possi