How can iredirect a request from one apache to other apache.

2005-09-20 Thread Rohit Maheshwari
Hi All, I have the configuration like below User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server I want to redirect the request sent to one apache to other apache which in turn sends the request to the Weblogic server. So please help me out on how can I redirect the user request from

RE: How can iredirect a request from one apache to other apache.

2005-09-20 Thread Caldarale, Charles R
From: Rohit Maheshwari [mailto:[EMAIL PROTECTED] Subject: How can iredirect a request from one apache to other apache. I have the configuration like below User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server And what does this have to do with Tomcat? - Chuck

How can i change the http 500 error page

2005-08-16 Thread Ebru KAYA
Can anyone help me how can i change the error page http1.1 500 on tomcat ? Ebru KAYA

Re: How can i change the http 500 error page

2005-08-16 Thread Jost Richstein
error-page error-code503/error-code location/errors/503.html/location /error-page in web.xml Ebru KAYA wrote: Can anyone help me how can i change the error page http1.1 500 on tomcat ? Ebru KAYA

Re: How can i change the http 500 error page

2005-08-16 Thread pacea
Just remember to add it after the /welcome-file-list tag. error-page error-code503/error-code location/errors/503.html/location /error-page in web.xml Ebru KAYA wrote: Can anyone help me how can i change the error page http1.1 500 on tomcat ? Ebru KAYA

Re: how can I put enable a button when a servlet has finished.

2005-07-13 Thread password password
Ivan, Thanks a lot. Ivan Rodriguez [EMAIL PROTECTED] escribió: public void execute(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { [.] [When you end the server tasks, ] String redirectString = request.getContextPath() +

how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks

how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread Eric J. Pastoor
you can enable and disable buttons through javascript - Original Message - From: password password [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished. Hi, I have a jsp page

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
Subject: how can I put enable a button when a servlet has finished. Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread Ivan Rodriguez
that the servlet has finish in that jsp page? Eric J. Pastoor [EMAIL PROTECTED] escribió: you can enable and disable buttons through javascript - Original Message - From: password password To: Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
password To: Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread Ivan Rodriguez
public void execute(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { [.] [When you end the server tasks, ] String redirectString = request.getContextPath() + /some/path/to/finished.jsp;

How can I using Jasper 2 JSP Engine back-compile the java file to jsp file?

2005-06-17 Thread Kingfish (Wang Yu)
I deleted all my project files by misoperation. Using the FinalDate+GoogleDesktop makes all java and xml files back. But some jsp ... ;-( Thanks In Advance

How can I make my this Tomcat app serves many concurrent users?

2005-06-09 Thread Melvin Wong
Hi, My objective for this topic is to find a way to make my tomcat app able to handle as many as possible concurrent requests. My app spec is -servlet running on Tomcat 5.0 My app is a mobile text messaging app that receives requests via a single servlet, called InboundRequest. This

How can I make my this Tomcat app serves many concurrent users?

2005-06-09 Thread Melvin Wong
Hi, My objective for this topic is to find a way to make my tomcat app able to handle as many as possible concurrent requests. My app spec is -servlet running on Tomcat 5.0 My app is a mobile text messaging app that receives requests via a single servlet, called InboundRequest.

How can I catch the ip-address chenged event?

2005-05-29 Thread maojm
Hi, I create a thread using an init servlet, which is loaded on start-up. This thread listens on port 3030 and does well. But after changing ip-address,this thread seems dead and no responses to any incoming connections. How can i catch the ip-address chenged event so that i can re

RES: RES: How can I create a digest password - digest.bat is the key!

2005-04-14 Thread Paulo Alvim
... -Mensagem original- De: Parsons Technical Services [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 14 de abril de 2005 00:58 Para: Tomcat Users List Assunto: Re: RES: How can I create a digest password - digest.bat is the key! Dejavu In a properly configured system

RE: How can I access a web app only from 443 in Tomcat 5

2005-04-13 Thread Lorenzo Jiménez
Thank you very much! Regards, Lorenzo -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Martes, 12 de Abril de 2005 06:04 p.m. To: Tomcat Users List Subject: Re: How can I access a web app only from 443 in Tomcat 5 On 4/12/05, Lorenzo Jiménez [EMAIL PROTECTED

How can I create a digest password

2005-04-13 Thread Lorenzo Jiménez
Hi, I need help to generate encrypted passwords. Using the Tomcat 5's documentation: C:\java org.apache.catalina.realm.RealmBase -a MD5 mypassd And this is the error message: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/realm/RealmBase I also checked the

SV: How can I create a digest password

2005-04-13 Thread Martin Lidgard
] Skickat: den 13 april 2005 18:57 Till: Tomcat Users List Ämne: How can I create a digest password Prioritet: Hög Hi, I need help to generate encrypted passwords. Using the Tomcat 5's documentation: C:\java org.apache.catalina.realm.RealmBase -a MD5 mypassd And this is the error message

RE: How can I create a digest password

2005-04-13 Thread J Malcolm
the realmbase class in the Tomcat source and clone the method. Jerry -Original Message- From: Lorenzo Jiménez [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:57 AM To: Tomcat Users List Subject: How can I create a digest password Importance: High Hi, I need help to generate

RE: How can I create a digest password - another error

2005-04-13 Thread Lorenzo Jiménez
Abril de 2005 11:07 a.m. To: 'Tomcat Users List' Subject: [SPAM2] - RE: How can I create a digest password - Found word(s) list error in the Text body The problem you are hiting is due to the location of the jar file in the default tomcat install. You can move the jar file into the lib\common

RES: How can I create a digest password - another error

2005-04-13 Thread Paulo Alvim
:[EMAIL PROTECTED] Enviada em: quarta-feira, 13 de abril de 2005 15:04 Para: Tomcat Users List Assunto: RE: How can I create a digest password - another error Prioridade: Alta Dear Jerry: Thanks for the advice. I follow your advice but did not worked. I use this C:\java -cp C:\Java\Tomcat5.0.28

RE: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Lorenzo Jiménez
PROTECTED] Sent: Miércoles, 13 de Abril de 2005 02:01 p.m. To: Tomcat Users List Subject: [SPAM2] - RES: How can I create a digest password - another error - Found word(s) list error in the Text body Hi, I don't know if it's your objective but is it possible to use MD5 to encode passwords

RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Paulo Alvim
PROTECTED] Enviada em: quarta-feira, 13 de abril de 2005 17:13 Para: Tomcat Users List Assunto: RE: How can I create a digest password - digest.bat is the key! Prioridade: Alta Dear Paulo: Thanks for your comments. What we want is to have minimum exposure to hacking. We found out

RE: How can I create a digest password - digest.bat is the key! - Found word(s) list error in the Text body

2005-04-13 Thread Lorenzo Jiménez
Paulo: Are you using the DBCP JDBC connection pooling Yes, but how can I tell tomcat the password is encrypted? Using the realm? Thanks again, Lorenzo -Original Message- From: Paulo Alvim [mailto:[EMAIL PROTECTED] Sent: Miércoles, 13 de Abril de 2005 02:59 p.m. To: Tomcat Users

Re: RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Mark Thomas
-feira, 13 de abril de 2005 17:13 Para: Tomcat Users List Assunto: RE: How can I create a digest password - digest.bat is the key! Prioridade: Alta Dear Paulo: Thanks for your comments. What we want is to have minimum exposure to hacking. We found out that, in the context.xml, we can specify

RES: How can I create a digest password - digest.bat is the key! - Found word(s) list error in the Text body

2005-04-13 Thread Paulo Alvim
18:02 Para: Tomcat Users List Assunto: RE: How can I create a digest password - digest.bat is the key! - Found word(s) list error in the Text body Prioridade: Alta Paulo: Are you using the DBCP JDBC connection pooling Yes, but how can I tell tomcat the password is encrypted? Using the realm

RES: RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Paulo Alvim
PROTECTED] Enviada em: quarta-feira, 13 de abril de 2005 18:16 Para: Tomcat Users List Assunto: Re: RES: How can I create a digest password - digest.bat is the key! Paulo, I am pretty sure this won't work. Tomcat can't calculate the real password (required by the database) from the hash. The key

Re: RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Parsons Technical Services
issues. What exactly do you mean by watch clean passwords? Doug - Original Message - From: Paulo Alvim [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 13, 2005 7:00 PM Subject: RES: RES: How can I create a digest password - digest.bat

How can I access a web app only from 443 in Tomcat 5

2005-04-12 Thread Lorenzo Jiménez
Hi, I am trying to make my webapp to only be available thru port 443 in Tomcat 5. Can I do it in context.xml or need a further config on server.xml or web.xml? Thanks a lot! Lorenzo - Si usted no es el destinatario indicado en este

Re: How can I access a web app only from 443 in Tomcat 5

2005-04-12 Thread Jason Bainbridge
On 4/12/05, Lorenzo Jiménez [EMAIL PROTECTED] wrote: Hi, I am trying to make my webapp to only be available thru port 443 in Tomcat 5. Can I do it in context.xml or need a further config on server.xml or web.xml? Well you can either disable the non HTTPS connector in your server.xml all

How can I see the full stack trace in the browser?

2005-03-17 Thread Kostas Karadamoglou
Is it possible to see the full stack trace of an exception in the browser? If yes, how can I enable it? thank you in advance kostas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How can I deploy 2 tomcat and work on both of them at the same ti me?

2004-09-30 Thread Alex
PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: How can I deploy 2 tomcat and work on both of them at the same ti me? Hello, I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have installed another tomcat

How can I deploy 2 tomcat and work on both of them at the same ti me?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
Hello, I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have installed another tomcat (same version) under another root directory. I need to have two versions working at the same time. Under one, I will have a client web version and under the other one, my test

Re: How can I deploy 2 tomcat and work on both of them at the same ti me?

2004-09-29 Thread zhicheng wang
you should not have problem to run two or more if they do not use the port. for your test one, you may not want to use port 80. cheng --- Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote: Hello, I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have

AW: How can I deploy 2 tomcat and work on both of them at the same time?

2004-09-29 Thread Steffen Heil
Hi I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have installed another tomcat (same version) under another root directory. I need to have two versions working at the same time. Under one, I will have a client web version and under the other one, my test version.

RE: How can I deploy 2 tomcat and work on both of them at the sam e ti me?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
wang [mailto:[EMAIL PROTECTED] Sent: miércoles, 29 de septiembre de 2004 10:08 To: Tomcat Users List Subject: Re: How can I deploy 2 tomcat and work on both of them at the same ti me? you should not have problem to run two or more if they do not use the port. for your test one, you may not want

RE: How can I deploy 2 tomcat and work on both of them at the sam e time?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: miercoles, 29 de septiembre de 2004 11:50 To: 'Tomcat Users List' Subject: AW: How can I deploy 2 tomcat and work on both of them at the same time? Hi I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have installed another

RE: How can I deploy 2 tomcat and work on both of them at the sam e time?

2004-09-29 Thread Ben Souther
' Subject: AW: How can I deploy 2 tomcat and work on both of them at the same time? Hi I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have installed another tomcat (same version) under another root directory. I need to have two versions working at the same time

RE: How can I deploy 2 tomcat and work on both of them at the sam e time?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
THank you!!! It works for me too!!! Elisabeth -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: miercoles, 29 de septiembre de 2004 12:11 To: Tomcat Users List Subject: RE: How can I deploy 2 tomcat and work on both of them at the sam e time? In server.xml: Server

How can I make cluster nodes communicate info other than session

2004-08-19 Thread Srinivas Rao Ch
1. I have to design an application in which the cluster nodes and LB will be communicating application specific information other than session info. How can I do this? Do I need to subclass/implement ReplicationTransmitter and ReplicationListener like classes? Or is there any other way? 2. I am

RE: How can I make cluster nodes communicate info other than sess ion

2004-08-19 Thread Srinivas Rao Ch
Can someone please answer my queriees Regards, Srinivas -Original Message- From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:28 PM To: Tomcat Users List Subject: How can I make cluster nodes communicate info other than session 1. I have to design

Re: How can I make cluster nodes communicate info other than sess ion

2004-08-19 Thread QM
of the night, farm the work out to some freelancer(s) for a worthy hourly rate. As for your question: : 1. I have to design an application in which the cluster nodes and LB will be : communicating application specific information other than session info. How : can I do this? Do I need to subclass

RE: How can I make cluster nodes communicate info other than session

2004-08-19 Thread Filip Hanik \(lists\)
: RE: How can I make cluster nodes communicate info other than session Can someone please answer my queriees Regards, Srinivas -Original Message- From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:28 PM To: Tomcat Users List Subject: How can I make cluster

Re: How can I display number of requests over the past n seconds?

2004-08-04 Thread Rodrigo Ruiz
Mmmm, I think people is answering more than one question ;-) If you need to be strict with respect to the timings, that is, you need exactly the number of requests in the past five seconds counting from the moment your request is done, you will need the solution proposed by Tim. Just remember

Re: How can I display number of requests over the past n seconds?

2004-08-02 Thread Justin Ruthenbeck
More academic exercise than recommendation, but... Write your own implementation of a Map/HashMap specific to java.util.Date objects. Identify your smallest time increment (5 seconds in your email). Identify largest time increment (60 seconds) Create (60/5)+1 buckets for your hash function

How can I display number of requests over the past n seconds?

2004-07-29 Thread tom ly
I need to display on a .jsp page the number of requests for Tomcat in the past 5 / 10 / 15/ 30 / 45 / 60 seconds. I've already implement a Filter will count the total number of requests. I did this with a static int, which is incremented everytime a request comes in. But what should I do so

Re: How can I display number of requests over the past n seconds?

2004-07-29 Thread Tim Funk
You could use a list of java.util.Dates with the oldest date at the beginning of the list and the newest at the end of the List. Push new Dates onto the list and pull (expired) dates from the front of the list accoring to your threshold. The number of hits per unit time is the size of each

RE: How can I display number of requests over the past n seconds?

2004-07-29 Thread Shapira, Yoav
, then increment each timer by one every time a request comes in. The JSP would simply read the counter values. Yoav Shapira Millennium Research Informatics -Original Message- From: tom ly [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 10:11 AM To: [EMAIL PROTECTED] Subject: How can I

RE: AGAIN: How can you deploy an application onto a specific hos t?

2004-07-08 Thread David . Pawson
-Original Message- From: Tonte Pouncil I normally just use ant to deploy my stuff by dropping a .war file into the webapps dir. Which one please? In {catalina.home}/webapps/xxx.war ? Or in {catalina.home}/webapps/appname/xxx.war I've never yet got a war file

Re: AGAIN: How can you deploy an application onto a specific hos t?

2004-07-08 Thread Cristian ANCA
It is {catalina.home}/webapps/xxx.war [EMAIL PROTECTED] wrote: -Original Message- From: Tonte Pouncil I normally just use ant to deploy my stuff by dropping a .war file into the webapps dir. Which one please? In {catalina.home}/webapps/xxx.war ? Or in

Re: AGAIN: How can you deploy an application onto a specific host?

2004-07-08 Thread Florian Ebeling
Jouikov wrote: Ive asked this question before but nobody seemed to know the answer. So, Ill ask again So, Tomcat has a maanger application, which allows you to dynamically deploy sutff. Nice. But how can you deploy your stuff onto a SPECIFIC host? Thx

RE: AGAIN: How can you deploy an application onto a specific hos t?

2004-07-08 Thread David . Pawson
Thanks Cristian regards DaveP -Original Message- From: Cristian ANCA It is {catalina.home}/webapps/xxx.war [EMAIL PROTECTED] wrote: Which one please? In {catalina.home}/webapps/xxx.war ? Or in

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Ian Stevens
Is it possible to programmatically change the Server header? [...] Surely there is a way to alter the Server header of an HTTP response, if only for security reasons. I can't be the only person who wishes to do this. I would appreciate any suggestions as to how this can be

Re: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Tim Funk
The Server header is hardcoded into the Connectors. You can't remove/change it without a PATCH/recompile to org.apache.coyote.http11.Constants -Tim Ian Stevens wrote: Is it possible to programmatically change the Server header? [...] Surely there is a way to alter the Server header of an HTTP

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Ian Stevens
The Server header is hardcoded into the Connectors. You can't remove/change it without a PATCH/recompile to org.apache.coyote.http11.Constants That's certainly what I saw when looking at the source. There's no way alter it using a javax.servlet.Filter and a

Re: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Tim Funk
Unless there is a PATCH in bugzilla, then no. -Tim Ian Stevens wrote: The Server header is hardcoded into the Connectors. You can't remove/change it without a PATCH/recompile to org.apache.coyote.http11.Constants That's certainly what I saw when looking at the source. There's no way alter it

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Ian Stevens
Unless there is a PATCH in bugzilla, then no. OK. Thanks for your help, Tim. Ian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Ivan Jouikov
Ive asked this question before but nobody seemed to know the answer. So, Ill ask again So, Tomcat has a maanger application, which allows you to dynamically deploy sutff. Nice. But how can you deploy your stuff onto a SPECIFIC host? Thx. Best Regards, Ivan V

RE: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Tonte Pouncil
I normally just use ant to deploy my stuff by dropping a .war file into the webapps dir. -Original Message- From: Ivan Jouikov [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 4:30 PM To: 'Tomcat Users List' Subject: AGAIN: How can you deploy an application onto a specific host

RE: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Laurence Arabia
] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: AGAIN: How can you deploy an application onto a specific host? Date: Wed, 7 Jul 2004 14:30:29 -0700 I’ve asked this question before but nobody seemed to know the answer. So, I’ll ask again… So, Tomcat has a maanger application, which allows you

RE: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Mike Curwen
: How can you deploy an application onto a specific host? I've asked this question before but nobody seemed to know the answer. So, I'll ask again. So, Tomcat has a maanger application, which allows you to dynamically deploy sutff. Nice. But how can you deploy your stuff onto a SPECIFIC host

Re: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Mark Eggers
Ivan, This depends a lot on your environment. I am running 3 virtual hosts on this machine. I have used the following documentation in setting up a manager application for each virtual host. http://localhost:8080/tomcat-docs/manager-howto.html In particular, I use the following solution:

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-05 Thread Ian Stevens
Is it possible to programmatically change the Server header? Barring that, is it possible to set a Server header for a servlet within its web.xml file? My least preferred method is to change the Server header within Tomcat's server.xml file. I was thinking that a javax.servlet.Filter

How can you count incoming and outgoing traffic for an application?

2004-07-01 Thread Ivan Jouikov
I was wandering how can you count traffic in Tomcat? One way that I could think of, is to write a filter, and have it wrap the response output stream, and count the bytes. But that wont count the TCP IP headers size Is there any way to effectively count traffic for a given application

Re: How can i restart/reload a webapplication from within a servlet ?

2004-07-01 Thread alu, artifex
the tomcat distribution includes a manager webapplication which provides the functionality of starting, stopping and reloading specific web applications, take a look at the source code of this app to figure out how to achive such a behaviour. you may face some problems when the webapp tries to

Re: How can you count incoming and outgoing traffic for an application?

2004-07-01 Thread alu, artifex
tomcat doesnt know anything about tcp/ip traffic. go for a network analyzer or something similar. art Ivan Jouikov wrote: I was wandering how can you count traffic in Tomcat? One way that I could think of, is to write a filter, and have it wrap the response output stream, and count the bytes

How can i restart/reload a webapplication from within a servlet ?

2004-06-30 Thread Hussayn Dabbous
Hi; I have created an installation Servlet, which gathers some information from the administrator upon first startup after installation of my webapp. Everything is running fine, but at the end the Servlet should restart/reload the webapplication in which it is running. I haven't found any hint how

Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-06-29 Thread Ian Stevens
to setHeader() in Tomcat source, specifically HttpConnector, be wrapped with Filter objects? or does that only apply to calls within servlet source? How can I wrap all calls to setHeader()? thanks, Ian. /** * The javax.servlet.Filter to set HTTP headers to null. */ public class HttpRemoveHeaderFilter

How can the Server header in an HTTP response be customised?

2004-06-24 Thread Ian Stevens
I would like to change the value of the Server HTTP header returned by Tomcat. Calling HttpServletResponse.setHeader( Server, value ) will either add a second Server header or will do nothing, depending on whether it is called before or after the HTTP body is written. Is it possible to

RE: AW: How can I add Host without restarting Tomcat?

2004-06-22 Thread Carl Olivier
Hi, yeah thanks - have been doing that this morning! Regards, Carl -Original Message- From: Ivan Jouikov [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 09:34 PM To: 'Tomcat Users List' Subject: RE: AW: How can I add Host without restarting Tomcat? Look at tomcat's administration tool

RE: AW: How can I add Host without restarting Tomcat?

2004-06-21 Thread Carl Olivier
restart! Is this possible? Thanks! Carl -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: 18 June 2004 12:49 PM To: Tomcat Users List Subject: Re: AW: How can I add Host without restarting Tomcat? Hey, you can used the admin application. Tipp: Add a user

RE: AW: How can I add Host without restarting Tomcat?

2004-06-21 Thread Ivan Jouikov
Look at tomcat's administration tool - it can dynamically add hosts. Looks at its codes. Go from there. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 7:00 AM To: 'Tomcat Users List' Subject: RE: AW: How can I add Host without restarting

RE: How can I inhibit web navegation?

2004-06-18 Thread Bachler, Elisabeth (Elisabeth)
Thank you very much. The listings parameter does exactly what I wanted to do! Elisabeth -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: jueves, 17 de junio de 2004 15:46 To: [EMAIL PROTECTED] Subject: RE: How can I inhibit web navegation? Well, you can stop

How can I add Host without restarting Tomcat?

2004-06-18 Thread Ivan Jouikov
Nobody knows the answer to subj? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.701 / Virus Database: 458 - Release Date: 07.06.2004

AW: How can I add Host without restarting Tomcat?

2004-06-18 Thread Gunnar Pörschke
Non way, because it is written in server.xml file. You'll need to stop the server, I guess -Ursprüngliche Nachricht- Von: Ivan Jouikov [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 18. Juni 2004 11:33 An: 'Tomcat Users List' Betreff: How can I add Host without restarting Tomcat

Re: AW: How can I add Host without restarting Tomcat?

2004-06-18 Thread Nikola Milutinovic
Gunnar Pörschke wrote: Non way, because it is written in server.xml file. You'll need to stop the server, I guess Tomcat has a manager application. It can deploy new contexts (applications) on-the-fly, but I'm not sure about hosts. Nix.

Re: AW: How can I add Host without restarting Tomcat?

2004-06-18 Thread Peter Rossbach
Hey, you can used the admin application. Tipp: Add a user with admin role at your conf/tomcat-users.xml! Before you create the new host, create the webapps directory! After create your new host, copy the Catalina/localhost/manager.xml to Catalina/newhost/manager.xml and you have at usefull new

Re: How can I add Host without restarting Tomcat?

2004-06-18 Thread Matrix Help
MatrixOne Tech Support eMail incident submission functionality requires specific subject line. The following subject lines are recognized. Request for CustomerLink Access - This will submit a request for new CustomerLink account Request for CustomerLink Password Reset - This will

How can I inhibit web navegation?

2004-06-17 Thread Bachler, Elisabeth (Elisabeth)
Hello, I have a web application that runs under jakarta-tomcat-5.0.19. The root of my application is: /opt/jakarta-tomcat-5.0.19/webapps/provision/ I can access the application through: http://135.88.100.251:8080/provision/web/login.jsp Now, I don't want the user to be able to navigate through

RE: How can I inhibit web navegation?

2004-06-17 Thread Shapira, Yoav
http://jakarta.apache.org/tomcat/faq/misc.html#listing Yoav Shapira Millennium Research Informatics -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 9:35 AM To: 'Tomcat Users List' Subject: How can I inhibit web navegation

RE: How can I inhibit web navegation?

2004-06-17 Thread Frank Zammetti
that helps! Frank From: Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: How can I inhibit web navegation? Date: Thu, 17 Jun 2004 15:35:14 +0200 Hello, I have a web application that runs under jakarta

Re: How can I inhibit web navegation?

2004-06-17 Thread Pablo Lillia
: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 9:35 AM To: 'Tomcat Users List' Subject: How can I inhibit web navegation? Hello, I have a web application that runs under jakarta-tomcat-5.0.19. The root of my application is: /opt/jakarta-tomcat-5.0.19/webapps

How can I access a file located in WEB-INF

2004-06-16 Thread STOCKHOLM, Raymond
Hi, I need to access a file located in the directory WEB-INF of my web application. In fact, in WEB-INF/conf. How can I open this file in one of my servlet ? Any advise is welcome. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How can I access a file located in WEB-INF

2004-06-16 Thread deepak shripat mane
  u can define path variable into web.xml file and u can call this path variable into ur servlet file. Deepak On Wed, 16 Jun 2004 STOCKHOLM,Raymond wrote : Hi, I need to access a file located in the directory WEB-INF of my web application. In fact, in WEB-INF/conf. How can I open this file

Re: How can I access a file located in WEB-INF

2004-06-16 Thread Tim Funk
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream -Tim STOCKHOLM, Raymond wrote: Hi, I need to access a file located in the directory WEB-INF of my web application. In fact, in WEB-INF/conf. How can I open this file in one of my servlet

RE: How can I access a file located in WEB-INF

2004-06-16 Thread STOCKHOLM, Raymond
Thanks -Message d'origine- De : Tim Funk [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 juin 2004 13:24 À : Tomcat Users List Objet : Re: How can I access a file located in WEB-INF FAQ http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream -Tim STOCKHOLM, Raymond wrote

RE: How can I access a file located in WEB-INF

2004-06-16 Thread Tom K
filename = children[i]; } } Tom Kochanowicz -Original Message- From: STOCKHOLM, Raymond [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 2:15 AM To: Tomcat Users List Subject: How can I access a file located in WEB-INF Hi, I need to access a file located in the directory

RE: How can I access a file located in WEB-INF

2004-06-16 Thread Frank Zammetti
List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: How can I access a file located in WEB-INF Date: Wed, 16 Jun 2004 13:52:42 -0500 File dir = new File(directoryName); String[] children = dir.list(); if (children == null) { // Either dir does not exist

RE: How can I access a file located in WEB-INF

2004-06-16 Thread Shapira, Yoav
: RE: How can I access a file located in WEB-INF Further, you will probably want to be able to construct the path to /WEB- INF at runtime rather than hardcoding paths... You can do that as follows: String fullPath = getServletContext().getRealPath(path); where path is a context-relative path (can

RE: How can I access a file located in WEB-INF

2004-06-16 Thread Tom K
I suppose you could use a getRelativePath() -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 2:15 PM To: Tomcat Users List Subject: RE: How can I access a file located in WEB-INF Hi, Just remember getRealPath returns null in a packed WAR

RE: How can I access a file located in WEB-INF

2004-06-16 Thread Shapira, Yoav
Hi, I suppose you could use a getRelativePath() Huh? Yoav -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 2:15 PM To: Tomcat Users List Subject: RE: How can I access a file located in WEB-INF Hi, Just remember getRealPath returns null

RE: How can I access a file located in WEB-INF

2004-06-16 Thread Frank Zammetti
I didn't know that, thanks for the heads-up! From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: How can I access a file located in WEB-INF Date: Wed, 16 Jun 2004 15:14:33 -0400 Hi, Just remember getRealPath

How Can I doDefault Context Path

2004-06-09 Thread Masashi Nakane
Hi, all I need some help to set up an context path. I'm using apache 2.0 ,JK2, tomcat 5.0.24 on Linux. I made an application and packed into ABC.war. Then I put the war file into $TOMCAT_HOME\webapps\ directory. SO, I can access the top JSP with url http://localhost:8080/ABC/top.jsp This

RE: How Can I doDefault Context Path

2004-06-09 Thread Shapira, Yoav
Informatics -Original Message- From: Masashi Nakane [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 2:08 AM To: [EMAIL PROTECTED] Subject: How Can I doDefault Context Path Hi, all I need some help to set up an context path. I'm using apache 2.0 ,JK2, tomcat 5.0.24

How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread Francisco José Arnau Vives
In a message I said my problem into migrate a application from windows to a linux server. I think the problem is about the root directory where the servlets try to find the files. How can I know the dafault route for my application and how can I modify it? Thanks

Re: How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread QM
On Wed, May 26, 2004 at 03:21:43PM +0200, Francisco Jos? Arnau Vives wrote: : In a message I said my problem into migrate a application from windows to a : linux server. I think the problem is about the root directory where the : servlets try to find the files. How can I know the dafault route

Re: How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread stan
In a servlet, you can use getServletContext().getRealPath(/) to get the root of the web's docBase - Original Message - From: Francisco José Arnau Vives [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 9:21 PM Subject: How can I Know the servlet root directory

  1   2   3   4   5   6   >