Re: Accessing static resource during loading of webapp

2012-03-29 Thread Pid
On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Static resource URL being accessed: http://localhost:8080/static/index.html Directory for static resource:

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Farrukh Najmi
On 03/29/2012 04:13 AM, Pid wrote: On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Static resource URL being accessed: http://localhost:8080/static/index.html

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Pid
On 29/03/2012 13:11, Farrukh Najmi wrote: On 03/29/2012 04:13 AM, Pid wrote: On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Static resource URL being accessed:

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Farrukh Najmi
On 03/29/2012 08:47 AM, Pid wrote: On 29/03/2012 13:11, Farrukh Najmi wrote: On 03/29/2012 04:13 AM, Pid wrote: On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Farrukh, On 3/29/12 9:02 AM, Farrukh Najmi wrote: In my webapp I am using java.util.ServiceLoader class to dynamically load jars using an HttpUrlConnection to the jar served by the static app in the tomcat instance. Is your webapp hanging during

RE: Accessing static resource during loading of webapp

2012-03-28 Thread Filip Hanik (mailing lists)
Are you trying to read a file in the same webapp or another? -Original Message- From: Farrukh Najmi [mailto:farr...@wellfleetsoftware.com] Sent: Wednesday, March 28, 2012 4:34 PM To: users@tomcat.apache.org Subject: Accessing static resource during loading of webapp I have a

Re: Accessing static resource during loading of webapp

2012-03-28 Thread Farrukh Najmi
Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Static resource URL being accessed: http://localhost:8080/static/index.html Directory for static resource: ~/apache-tomcat-7.0.26/webapps/static/index.html