Rewrite URLs inside HTML pages?

2010-08-01 Thread Leon Kolchinsky
Hello, I've configured Tomcat (apache-tomcat-5.5.26) to run behind Apache Http (v.2.2.3 ) using mod_jk. We have 2 of those Tomcat servers running on different machines. We also configured load balancer (CISCO CSM) which we want to use for SSL offloading and LB. Load balancer serves https request

Printing JSP line number when an error occurs

2010-08-01 Thread Behrang Saeedzadeh
Is it possible to configure Tomcat (6 or 7) to show line number of errors in JSP files like Glassfish does? Regards, Behrang Saeedzadeh http://www.behrang.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: use of default-content-type

2010-08-01 Thread Mark Thomas
On 01/08/2010 14:19, Ivan wrote: > Any comment ? That would be a bug. Please create a bugzilla entry for it. Mark > Thanks ! > > 2010/7/30 Ivan > >> Tomcat 7 >> >> 2010/7/30 Mark Thomas >> >> On 30/07/2010 09:32, Ivan wrote: Hi, if default-content-type is configured in the web.xml, and

RE: Does Tomcat have something similar to JRun's virtual-mapping?

2010-08-01 Thread Bob Carpenter
Hi Felix, I keep asking my self the same thing, and the only logical conclusion I can come to is that I'm stupid! :-) That solved it - thanks! --Bob -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Sunday, August 01, 2010 3:33 AM To: Tomcat User

Re: Calling a CGI script from Servlet

2010-08-01 Thread troylparrish
Right you are, this is a system call, sorry for the mislabeling. I will do that. Thanks for the pointer. -Original Message- From: Mark Thomas To: Tomcat Users List Sent: Sun, Aug 1, 2010 10:07 am Subject: Re: Calling a CGI script from Servlet On 01/08/2010 13:19, troylpa

Re: Calling a CGI script from Servlet

2010-08-01 Thread Mark Thomas
On 01/08/2010 13:19, troylparr...@aol.com wrote: > > > > Mark, > > Thanks for the reply. I am using Tomcat 6.0.20. The script is located in > WEB-INF/cgi and in the call I am using an absolute path: > > //System Call > String[cmd] = {"python", > 'home/troy/NetBeansProjects/GSMFilter/web/WEB

Re: Calling a CGI script from Servlet

2010-08-01 Thread troylparrish
Yes, I mean /home/troy . . . -Original Message- From: Jason Pyeron To: 'Tomcat Users List' Sent: Sun, Aug 1, 2010 9:19 am Subject: RE: Calling a CGI script from Servlet > -Original Message- > From: troylparr...@aol.com [mailto:troylparr...@aol.com] > Sent: S

RE: Calling a CGI script from Servlet

2010-08-01 Thread Jason Pyeron
> -Original Message- > From: troylparr...@aol.com [mailto:troylparr...@aol.com] > Sent: Sunday, August 01, 2010 8:19 > To: users@tomcat.apache.org > Subject: Re: Calling a CGI script from Servlet > > > > > Mark, > > Thanks for the reply. I am using Tomcat 6.0.20. The script > is

Re: use of default-content-type

2010-08-01 Thread Ivan
Any comment ? Thanks ! 2010/7/30 Ivan > Tomcat 7 > > 2010/7/30 Mark Thomas > > On 30/07/2010 09:32, Ivan wrote: >> > Hi, if default-content-type is configured in the web.xml, and in the jsp >> > file, a differernt content-type is configured, then an exception below >> is >> > thrown. >> > From

Re: Calling a CGI script from Servlet

2010-08-01 Thread troylparrish
Mark, Thanks for the reply. I am using Tomcat 6.0.20. The script is located in WEB-INF/cgi and in the call I am using an absolute path: //System Call String[cmd] = {"python", 'home/troy/NetBeansProjects/GSMFilter/web/WEB-INF/cgi/helloWorld.py", "-c"}; Runtime rt = Runtime.getRuntime(); Proc

RE: Does Tomcat have something similar to JRun's virtual-mapping?

2010-08-01 Thread Felix Schumacher
Hi Bob. Am Freitag, den 30.07.2010, 11:39 -0700 schrieb Bob Carpenter: > Hi Pid, > > Thanks for the useful explanation with an easy to understand example! > > I did as you say, but am getting a 404 error. My TC structure looks like > this: > > apache-tomcat-6.0.20 > conf > Catalina >

Re: Calling a CGI script from Servlet

2010-08-01 Thread Mark Thomas
On 01/08/2010 03:32, troylparr...@aol.com wrote: > At this point I am at a loss. Any help would be greatly appreciated. With the information you have provided so far, I don't think anyone here is going to be able to help you. As a minimum, you'll need to provide the following: - Tomcat version -

Re: UTF-8 encoding in Tomcat 6.0

2010-08-01 Thread Mark Thomas
On 31/07/2010 17:34, arun kumar wrote: > > I ran my example webapp on a standalone tomcat and the behavior was the same: > When the param is being sent using GET, I need to send the param as %25xx for > it to be read correctly > When the method is PUT, %xx works fine. Then something in your setu