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 dharmshil...@gmail.com 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

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

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 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

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 on criminal. Do

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/webapp/WEB-INF/web.xml servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping This mapping worked fine with Tomcat 5, but when I am running the application with the same mapping, it is not able

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

2011-03-08 Thread Konstantin Kolinko
2011/3/9 Dharamshila Khandelwal dharmshil...@gmail.com: Hi, I have the following servlet mapping in webapps/webapp/WEB-INF/web.xml  servlet-mapping    servlet-nameaction/servlet-name    url-pattern*.do/url-pattern  /servlet-mapping This mapping worked fine with Tomcat 5, but when I am

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 knst.koli...@gmail.comwrote: 2011/3/9 Dharamshila Khandelwal dharmshil...@gmail.com: Hi,

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. I am attaching web.xml that I

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 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. I am attaching web.xml that I am using. At first glance, I don't see

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 PGP