RE: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-09 Thread Caldarale, Charles R
> From: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] > Subject: Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6 > I was able to make it work. Enable Invoker Servlet Mapping > in conf/web.xml. That is a really, really, really bad idea - bordering

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dharamshila, On 3/9/2011 11:58 AM, Dharamshila Khandelwal wrote: > I was able to make it work. Enable Invoker Servlet Mapping in conf/web.xml. That would do it, although you should enable it in your webapp's web.xml /only/ and not for the entire serv

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-09 Thread Dharamshila Khandelwal
Hi All, I was able to make it work. Enable Invoker Servlet Mapping in conf/web.xml. However I had to enable priveleged="true" in context.xml. Do you see any flip side to it? I know that it is not the most secured way but this is my application website and runs in the intranet. Thanks all for your

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-09 Thread Dharamshila Khandelwal
*Localhost.log* Mar 8, 2011 10:25:32 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Mar 8, 2011 10:25:32 PM org.apache.catalin

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-09 Thread Bob Hall
Dharamshila, --- On Tue, 3/8/11 at 7:35 PM, Dharamshila Khandelwal wrote: Thanks for your response Christopher! I have structs.jar in WEB-INF/lib. I even tried putting it in CATALINA_HOME/lib, but it didn't work. I have attached the log files as you had requested. As Chris already mentioned,

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
Thanks for your response Christopher! I have structs.jar in WEB-INF/lib. I even tried putting it in CATALINA_HOME/lib, but it didn't work. I have attached the log files as you had requested. On Tue, Mar 8, 2011 at 5:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PG

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
m: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] > > Subject: Re: Servlet mapping doesn't work after upgrading from Tomcat 5 > to 6 > > > I tried putting the servlet-mapping inside servlet tag > > but it didn't work. > > Good, since that's not syntactical

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dharamshila, On 3/8/2011 5:27 PM, Dharamshila Khandelwal wrote: > Thanks for your response Kolinko, I tried putting the servlet-mapping > inside servlet tag but it didn't work. I am attaching web.xml that I am > using. Your web.xml looks good. I also

RE: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Caldarale, Charles R
> From: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] > Subject: Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6 > I tried putting the servlet-mapping inside servlet tag > but it didn't work. Good, since that's not syntactically correct

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
Thanks for your response Kolinko, I tried putting the servlet-mapping inside servlet tag but it didn't work. I am attaching web.xml that I am using. On Tue, Mar 8, 2011 at 5:11 PM, Konstantin Kolinko wrote: > 2011/3/9 Dharamshila Khandelwal : > > Hi, > > > > I have the following servlet mapping i

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Konstantin Kolinko
2011/3/9 Dharamshila Khandelwal : > Hi, > > I have the following servlet mapping in webapps//WEB-INF/web.xml > >   >    action >    *.do >   > > This mapping worked fine with Tomcat 5, but when I am running the > application with the same mapping, it is not able to load the servlet saying > that th

Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-08 Thread Dharamshila Khandelwal
Hi, I have the following servlet mapping in webapps//WEB-INF/web.xml action *.do This mapping worked fine with Tomcat 5, but when I am running the application with the same mapping, it is not able to load the servlet saying that the requested servlet not found. Can anyone please h