Issue while configuring CSRFPreventionFilter !

2014-03-21 Thread Utkarsh Dave
Hi all, I am trying to configure the Tomcat inbuilt filter (tomcat.valves.CiscoResponseHeaderFilter) into my $TOMCAT_HOME/conf/web.xml filter filter-nameCSRF/filter-name filter-classorg.apache.catalina.filters.CsrfPreventionFilter/filter-class init-param

Re: Issue while configuring CSRFPreventionFilter !

2014-03-21 Thread Konstantin Kolinko
2014-03-21 10:09 GMT+04:00 Utkarsh Dave utkarshkd...@gmail.com: Hi all, I am trying to configure the Tomcat inbuilt filter (tomcat.valves.CiscoResponseHeaderFilter) into my $TOMCAT_HOME/conf/web.xml 1. The above file provides defaults for all web applications. It is unwise to modify it. E.g.

Re: Issue while configuring CSRFPreventionFilter !

2014-03-21 Thread Utkarsh Dave
Thanks Konstantin. My version of TOMCAT is 7.0.41 you said with this configuration i will not be able to access ROOT/index.html or any of the images, css or js files. What can i do to overcome this if i still want to go ahead configuring the $TOMCAT_HOME/conf/web.xml. Can i add them in

Maven Plugin: Documentation error?

2014-03-21 Thread James Green
Referencing http://tomcat.apache.org/maven-plugin-trunk/executable-war-jar.html The question I find most obvious when reading this is about the packaging. The war module apparently needs to be war or jar; the pom module apparently needs to be war. Confused! Also, having both listed on the same

RE: HttpServletRequest Tomcat 5.5.29 to 7.0.52

2014-03-21 Thread Seema Patel
Thanks for the explanation Chris. Seema Date: Thu, 20 Mar 2014 14:34:05 -0400 From: ch...@christopherschultz.net To: users@tomcat.apache.org Subject: Re: HttpServletRequest Tomcat 5.5.29 to 7.0.52 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Seems, On 3/20/14, 1:52 PM, Seema

covert a JSP with tag libs into a servlet using JspC class in apache tomcat

2014-03-21 Thread Sunitha Thummala
Hello everyone, I have a requirement where I need to convert a JSP with tag libraries into a plain servlet. I know the Jspc class in Tomcat does conversion of a plain JSP into a servlet. Im trying to figure out how to convert the JSP WITH tag libs into a servlet as well. Any help appreciated.

Re: Trouble registering an MBean with mbeans-descriptors.xml

2014-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/20/14, 6:38 PM, Konstantin Kolinko wrote: 2014-03-19 20:24 GMT+04:00 Christopher Schultz ch...@christopherschultz.net: I'm trying to write my own MBean, and I have it working: the bean is registered and I can browse it using

Re: Issue while configuring CSRFPreventionFilter !

2014-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Utkarsh, On 3/21/14, 3:01 AM, Utkarsh Dave wrote: Thanks Konstantin. My version of TOMCAT is 7.0.41 you said with this configuration i will not be able to access ROOT/index.html or any of the images, css or js files. What can i do to overcome

Re: covert a JSP with tag libs into a servlet using JspC class in apache tomcat

2014-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sunitha, On 3/21/14, 8:49 AM, Sunitha Thummala wrote: Hello everyone, I have a requirement where I need to convert a JSP with tag libraries into a plain servlet. I know the Jspc class in Tomcat does conversion of a plain JSP into a servlet.

Re: 回复: 回复: tomcat 5 logs

2014-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 改变自己, On 3/20/14, 10:24 AM, 改变自己 wrote: thank you very much for your detailed explanation , now i just resolved it with another way, i used a cronlog.exe which is a executable file and can be used for produce daily files; Does it actually