RE : not see the directory

2003-11-21 Thread eric perso
Ok it s work for all webapps
But i want to configure for each webapps
In the web.xml in WEB-INF how to this.
thanks

 -Original Message-
 From: Cox, Charlie [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, November 20, 2003 8:49 PM
 To: 'Tomcat Users List'
 Subject: RE: not see the directory
 
 
 set listings to false in conf/web.xml
 
 Charlie
 
  -Original Message-
  From: eric perso [mailto:[EMAIL PROTECTED]
  Sent: Thursday, November 20, 2003 11:30 AM
  To: tomcat user List
  Subject: not see the directory
  
  
  hi,
   
  i search to:
  don't see inside a directory like www.toto.com/images/
   
  but i use in the jsp and html pages the image 
  www.toto.com/images/i.gif 
  how to do this
   
  thanks;
  best regards
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE : RE : not see the directory

2003-11-21 Thread eric perso
Ok fine i give it up.

Cool

Thanks all
I use in my specific web.xml : this
servlet
servlet-namelister/servlet-name
servlet-class
  org.apache.catalina.servlets.DefaultServlet
/servlet-class

init-param
param-namelistings/param-name
param-valuefalse/param-value
/init-param

/servlet

servlet-mapping
servlet-namelister/servlet-name
url-pattern//url-pattern
/servlet-mapping

 -Original Message-
 From: eric perso [mailto:[EMAIL PROTECTED] 
 Sent: Friday, November 21, 2003 9:33 AM
 To: 'Tomcat Users List'
 Subject: RE : not see the directory
 
 
 Ok it s work for all webapps
 But i want to configure for each webapps
 In the web.xml in WEB-INF how to this.
 thanks
 
  -Original Message-
  From: Cox, Charlie [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, November 20, 2003 8:49 PM
  To: 'Tomcat Users List'
  Subject: RE: not see the directory
  
  
  set listings to false in conf/web.xml
  
  Charlie
  
   -Original Message-
   From: eric perso [mailto:[EMAIL PROTECTED]
   Sent: Thursday, November 20, 2003 11:30 AM
   To: tomcat user List
   Subject: not see the directory
   
   
   hi,

   i search to:
   don't see inside a directory like www.toto.com/images/

   but i use in the jsp and html pages the image 
   www.toto.com/images/i.gif 
   how to do this

   thanks;
   best regards
   
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE : search to don t list

2003-11-21 Thread eric perso
Thanks but see the topic not see the directory
bye

 -Original Message-
 From: Adam Hardy [mailto:[EMAIL PROTECTED] 
 Sent: Friday, November 21, 2003 10:56 AM
 To: Tomcat Users List
 Subject: Re: search to don t list
 
 
 On 11/20/2003 03:20 PM eric perso wrote:
  i search to don 't see a directory.
  exemple : i ve a dir /images in my webapp
  how to don't see: http://www.toto.com/images
  but i cant use the images into this directory on another pages
 
 Hi Eric
 I don't understand exactly what you are trying to do. Are you 
 trying to 
 prevent a directory listing for the images directory?
 
 I know that you can set a welcome-file in your web.xml and that will 
 block the directory listing for the home directory. Right now I just 
 realised I don't know know the setting to prevent all directory 
 listings. Perhaps someone else can jump in?
 
 Adam
 -- 
 struts 1.1 + tomcat 5.0.12 + java 1.4.2
 Linux 2.4.20 RH9
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



search to don t list

2003-11-20 Thread eric perso
Hi,
 
i search to don 't see a directory.
exemple : i ve a dir /images in my webapp
how to don't see: http://www.toto.com/images
but i cant use the images into this directory on another pages
 
thanks


RE : A proper way to stop thread ?

2003-11-20 Thread eric perso
Put it on null ,not?

 -Original Message-
 From: Laurent Michenaud [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, November 20, 2003 5:26 PM
 To: [EMAIL PROTECTED]
 Subject: A proper way to stop thread ?
 
 
 Hi,
  
 We are using Timer in our web application.
  
 We are wondering how to stop the Timer when tomcat shutdown.
  
 For the moment, we add Timer.cancel() in the destroy() of the servlet
 that launches the Timer.
  
 I don't know if it is good or not.
  
 When is a servlet killed ? at tomcat shutdown or when it is not used
 anymore ( GC ) ?
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



not see the directory

2003-11-20 Thread eric perso
hi,
 
i search to:
don't see inside a directory like www.toto.com/images/
 
but i use in the jsp and html pages the image www.toto.com/images/i.gif 
how to do this
 
thanks;
best regards


RE : JK2 error- file access denied

2003-11-20 Thread eric perso
Hi,
You have not the rights to write
Or you write with incorrect path separator / 
Correct under windows \ for file and directory

I hope , i answer to your probleme

 -Original Message-
 From: James Ostad [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, November 20, 2003 6:02 PM
 To: Tom (E-mail)
 Subject: JK2 error- file access denied
 Importance: High
 
 
 I am getting the following error when I try to access a file from the
 remote server:
 
 Created catalinaLoader in: d:\Program Files\Apache Group\Tomcat
 4.1\server\lib
 Nov 20, 2003 11:41:31 AM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on port 8080
 Nov 20, 2003 11:41:43 AM 
 org.apache.struts.util.PropertyMessageResources
 init
 INFO: Initializing, config='org.apache.struts.util.LocalStrings',
 returnNull=true
 Nov 20, 2003 11:41:43 AM 
 org.apache.struts.util.PropertyMessageResources
 init
 INFO: Initializing, config='org.apache.struts.action.ActionResources',
 returnNull=true
 Nov 20, 2003 11:41:48 AM 
 org.apache.struts.util.PropertyMessageResources
 init
 INFO: Initializing,
 config='org.apache.webapp.admin.ApplicationResources', returnNull=true
 Nov 20, 2003 11:42:00 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Nov 20, 2003 11:42:01 AM org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8009
 Nov 20, 2003 11:42:01 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=30/30  config=d:\Program Files\Apache
 Group\Tomcat 4.1\conf\jk2.properties
 java.io.FileNotFoundException:\\ceoimage\ceodata$\crc\00057720.tif
 (Access is denied)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.init(FileInputStream.java:103)
   at util.fileUtil.filescopy.copyFile(filescopy.java:26)
   at util.fileUtil.filescopy.init(filescopy.java:13)
   at util.fileUtil.runfile.init(runfile.java:9)
   at domain.Client.init(Client.java:20)
   at domain.ClientDAO.getClient(ClientDAO.java:56)
   at domain.CRCService.getClient(CRCService.java:17)
   at web.CEOCRCServlet.processClient(CEOCRCServlet.java:68)
   at web.CEOCRCServlet.doPost(CEOCRCServlet.java:32)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(Applica
 tionFilterChain.java:247)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilt
 erChain.java:193)
   at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValv
 e.java:256)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValv
 e.java:191)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.catalina.core.StandardContext.invoke(StandardContex
 t.java:241
 7)
   at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java
 :180)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(StandardPipeline.java:643)
   at
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
 spatcherVa
 lve.java:171)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(StandardPipeline.java:641)
   at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
 Valve.java
 :172)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(StandardPipeline.java:641)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.
 java:174)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
 java:193)
   at
 org.apache.coyote.http11.Http11Processor.process(Http11Process
 or.java:78
 1)
   at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
 r.processC
 onnection(Http11Protocol.java:549)
   at
 

RE : Basic Authentication

2003-11-20 Thread eric perso
It s not use in the class java.net.Authenticator ?
See it


 -Original Message-
 From: Kumar, Sumit [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, November 20, 2003 7:01 PM
 To: 'Tomcat Users List'
 Subject: RE: Basic Authentication
 
 
 Can somebody suggest how to implement Basic Authentication in 
 Tomcat4.1 or
 use an existing Basic Authentication being used by other application.
 
 Thanks
 -sumit
 
 -Original Message-
 From: Kumar, Sumit 
 Sent: Thursday, November 20, 2003 11:44 AM
 To: 'Tomcat Users List'
 Subject: Basic Authentication
 
 
 Hello,
 
 I have a third party application named Intraspect5.6. It uses 
 Tomcat 4.1 as
 servlet engine. It uses Basic Authentication. I want to use 
 the same Basic
 Authentication used by Intraspect for my custom application 
 that I have
 deployed in the same Tomcat instance. From my webapp, can I 
 go to the table
 where intraspect stores the userid and passwords and decode 
 the password Or
 is their a better way. I also donot understand how Basic 
 Authentication is
 implemented. Any help please.
 
 Thnaks
 -sumit
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]