Re: How can i change the http 500 error page

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

Re: How can i change the http 500 error page

2005-08-16 Thread Jost Richstein
503 /errors/503.html in web.xml Ebru KAYA wrote: Can anyone help me how can i change the error page http1.1 500 on tomcat ? Ebru KAYA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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 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() + "/some/path/to/fin

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"; response.sendRedirect(response.encodeURL(r

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

2005-07-12 Thread password password
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. > > > - To unsubscrib

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

2005-07-12 Thread Ivan Rodriguez
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

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

2005-07-12 Thread password password
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, 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

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: 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, and when

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

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

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
ed it would be 'a little' more difficult... -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.

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" Sent: Wednesday, April 13, 2005 7:00 PM Subject: RES: RES: How can I create a digest password - digest

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

2005-04-13 Thread Paulo Alvim
[mailto:[EMAIL 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 databas

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
eira, 13 de abril de 2005 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 enc

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

2005-04-13 Thread Mark Thomas
bc:oracle:thin:@x:1521:oraplcdb username demo3 password %$&#I(#)$ (...) -Mensagem original- De: Lorenzo Jiménez [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 13 de abril de 2005 17:13 Para: Tomcat Users List Assunto: RE: How can

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 Us

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

2005-04-13 Thread Paulo Alvim
river url jdbc:oracle:thin:@x:1521:oraplcdb username demo3 password %$&#I(#)$ (...) -Mensagem original- De: Lorenzo Jiménez [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 13 de abril de 2005 17:13 Para: Tomcat Users List

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 passwo

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

2005-04-13 Thread Paulo Alvim
ez [mailto:[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

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

2005-04-13 Thread Lorenzo Jiménez
Miércoles, 13 de 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 f

RE: How can I create a digest password

2005-04-13 Thread J Malcolm
ode. Just find 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 h

SV: How can I create a digest password

2005-04-13 Thread Martin Lidgard
AIL PROTECTED] 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

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 c

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 PROTEC

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

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

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
h)" <[EMAIL 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 ja

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

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

2004-09-29 Thread Ben Souther
e modified? > Actually, I have not made a copy of my current working version but I > installed another tomcat (same version) in another directory. > > -Original Message- > From: Steffen Heil [mailto:[EMAIL PROTECTED] > Sent: miercoles, 29 de septiembre de 2004 11:50 > To

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)
ssage- From: 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 N

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)
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 to use port 80. cheng --- "Bachler, Elis

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

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 versio

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

2004-08-19 Thread Filip Hanik \(lists\)
st Subject: 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 ma

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

2004-08-19 Thread QM
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 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 an

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

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 Writ

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

2004-07-29 Thread Shapira, Yoav
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] >Sub

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 list

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 t

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 r

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 ho

RE: AW: How can I add 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 without restarting Tomcat? Look at tomcat's administr

RE: AW: How can I add 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 wit

RE: AW: How can I add 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 without restarting Tomcat? Hey, you can used the admin application. Tipp: Add a user with admin

Re: How can I add 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 subm

Re: AW: How can I add 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//manager.xml and you have at usefull new host witho

Re: AW: How can I add 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. ---

AW: How can I add 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 without restarting To

How can I add 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

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

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.

RE: How can I inhibit web navegation?

2004-06-17 Thread Frank Zammetti
t the request. Hope 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? Da

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

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

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

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
IL PROTECTED] >Subject: 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(&q

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

2004-06-16 Thread Frank Zammetti
AIL 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 13:52:42 -0500 File dir = new File("directoryName");

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

2004-06-16 Thread Tom K
st Subject: How can I access a file located in WEB-INF 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. --

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

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

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 doDefault Context Path

2004-06-09 Thread Shapira, Yoav
pira Millennium Research 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 contex

How Can I doDefault Context Path

2004-06-08 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 Know the servlet root directory for documents and modify it?

2004-05-26 Thread Shapira, Yoav
Hi, Remember, getRealPath doesn't work in a packed WAR file. Yoav Shapira Millennium Research Informatics >-Original Message- >From: stan [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 26, 2004 9:43 AM >To: Tomcat Users List >Subject: Re: How can I Know the servle

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

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 for

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 access JMS server on a remote machine in Tomcat

2004-05-25 Thread Shapira, Yoav
-user&w=2&r=2&s=jms&q=b. Yoav Shapira Millennium Research Informatics >-Original Message- >From: stan [mailto:[EMAIL PROTECTED] >Sent: Tuesday, May 25, 2004 10:24 AM >To: [EMAIL PROTECTED] >Subject: How can I access JMS server on a remote machine in Tomcat &g

How can I access JMS server on a remote machine in Tomcat

2004-05-25 Thread stan
Hi, all This is my problem: Now , I have build a web application with Tomcat. But, I have to add some new function , so I want to use JMS to communicate with a remote machine(there is a message-driven bean on it) The JMS server is JBoss. Is it possible? and How to solve t

session tracking using uri not cookies (was How can I maintain state with Axis

2004-04-07 Thread Paul Mansfield
With recent discussions about session management, I recalled long time ago reading about URI rewriting for when the client doesn't handle cookies properly, and found a useful article about it http://access1.sun.com/techarticles/sessions.iws.html "URL rewriting is the ability to use sessions and s

Re: How can I maintain state with Axis webservice in Tomcat?

2004-04-06 Thread Justin Ruthenbeck
s provide a unique id that is persistent throughout the lifecycle of the request. How can I use this unique id as the unique identifier so that I can manage state within AXIS web services. - Do you Yahoo!? Yahoo! Small Business $15K Web

RE: How can I maintain state with Axis webservice in Tomcat?

2004-04-06 Thread Shapira, Yoav
ilto:[EMAIL PROTECTED] >Sent: Tuesday, April 06, 2004 11:33 AM >To: [EMAIL PROTECTED] >Subject: How can I maintain state with Axis webservice in Tomcat? > >I've got multiple instance of a presentation front end sending requests to >multiple instances of the component I'm bui

How can I maintain state with Axis webservice in Tomcat?

2004-04-06 Thread tom ly
t end does provide a unique id that is persistent throughout the lifecycle of the request. How can I use this unique id as the unique identifier so that I can manage state within AXIS web services. - Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway - Enter today

how can I switch off the debug

2004-04-01 Thread Juan Rafael Maroto Escobar
How can I switch off the debug in Tomcat4? My web.xml is http://java.sun.com/dtd/web-app_2_3.dtd";> action ucua.evaluacionComplementos.ActionServlet config /WEB-INF/struts-config.xml debug 0 detail 0

How can I improve the performance of ajp13 connector?

2004-03-30 Thread Salvador Santander Gutierrez
I've noticed that the performance through tomcat directly ( by port 8080, coyote connector) is much better than request the same page to the apache with ajp13 connector. Is there any way to improve the performance of the ajp13 connector? I'm using apache 1.3.26, tomcat 4.1.27, and jk connector 1.2.

RE: How can I get a method to be called every 60 seconds in Tomcat?

2004-03-16 Thread Peter Guyatt
Hi There, How about writing your own timer task, that performs a callback on an on class implementing TimerListener. Thanks Pete -Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: 16 March 2004 07:29 To: Tomcat Users List Subject: Re: How can I get a method to

RE: How can I get a method to be called every 60 seconds in Tomca t?

2004-03-16 Thread Ronald Wildenberg
> I want to get a method to automatically get called every 60 > seconds in Tomcat. The method reset() will reset monitoring > information. How can I do this? > java.util.Timer and java.util.TimerTask Reg

Re: How can I get a method to be called every 60 seconds in Tomcat?

2004-03-15 Thread David Rees
tom ly wrote, On 3/15/2004 7:01 PM: I want to get a method to automatically get called every 60 seconds in Tomcat. The method reset() will reset monitoring information. How can I do this? Jcrontab - http://jcrontab.sourceforge.net/ -Dave

Re: How can I make servlets reloaded automatically ?

2004-03-15 Thread Jacob Kjome
I don't recommend that for production, but for development, it makes life easier. Jake At 11:10 AM 3/16/2004 +0800, you wrote: Hi, Once I change the code of a servlet, I have to restart Tomcat5 to make it reloaded . Can I make the Tomcat to reload it without restarting? Thanks

How can I make servlets reloaded automatically ?

2004-03-15 Thread stanley
Hi, Once I change the code of a servlet, I have to restart Tomcat5 to make it reloaded . Can I make the Tomcat to reload it without restarting? Thanks

How can I get a method to be called every 60 seconds in Tomcat?

2004-03-15 Thread tom ly
I want to get a method to automatically get called every 60 seconds in Tomcat. The method reset() will reset monitoring information. How can I do this? Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Edson Alves Pereira
de março de 2004 14:54 > Para: Tomcat Users List > Assunto: RE: how can i get a servlet instance from ServletPool > > > --- Edson Alves Pereira <[EMAIL PROTECTED]> wrote: > > No, i made it static `cause i couldn´t get servlet instance in > > anoth

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Erik Price
--- Edson Alves Pereira <[EMAIL PROTECTED]> wrote: > No, i made it static `cause i couldn´t get servlet instance in > another servlet, that´s solved my problem, but i´d like to know if is > this > the best way to solve problems like that? Doesn't it seem like you could refactor that functio

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Edson Alves Pereira
> Enviada: segunda-feira, 1 de março de 2004 14:34 > Para: 'Tomcat Users List' > Assunto: RE: how can i get a servlet instance from ServletPool > > That sort of coding is probably not the way to go about solving this > particular problem (how to re-use all the wo

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Mike Curwen
e method you want to call has been made static?" > -Original Message- > From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] > Sent: Monday, March 01, 2004 11:26 AM > To: 'Tomcat Users List' > Subject: RE: how can i get a servlet instance from ServletPool >

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Edson Alves Pereira
, is this right? > -- > De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: segunda-feira, 1 de março de 2004 11:08 > Para: Tomcat Users List > Assunto: RE: how can i get a servlet instance from Servlet

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Shapira, Yoav
Howdy, > Hello dudes, is there a way to get a servlet instance from Tomcat´s >pool? Is there a replacement to getServletContext( ).getServlet( )? As always, there's a way. But is it portable/reliable/advisable? No, no, and no. Was there a reason getServlet was deprecated? Sure. Why

  1   2   3   4   5   6   >