Re: accessing web.xml

2008-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Richmond wrote: | I have created a web service using JAX-WS and deployed my .war and it runs | fine, but now I want to convert some hard-coded config values to read values | from the WEB-INF/web.xml file that was created/deployed.

RE: accessing web.xml

2008-05-29 Thread Chris Richmond
: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 5:15 AM To: Tomcat Users List Subject: Re: accessing web.xml -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Richmond wrote: | I have created a web service using JAX-WS and deployed my .war and it runs | fine

Re: accessing web.xml

2008-05-29 Thread Terence M. Bandoian
Hi- Another reasonable approach would be to set system properties either in the startup script or in the Windows registry if you're running as a service. -Terence M. Bandoian Subject: Re: accessing web.xml From: Christopher Schultz [EMAIL PROTECTED] Date: Thu, 29 May 2008 11:14:44 -0400

RE: accessing web.xml

2008-05-29 Thread Chris Richmond
will set this topic to [RESOLVED] at COB(Hawaii time) so others can see how I resolved it. Thanks, Chris -Original Message- From: Terence M. Bandoian [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 8:41 AM To: Tomcat Users List Subject: Re: accessing web.xml Hi- Another

Re: accessing web.xml

2008-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Richmond wrote: | Well after I added that entry, I realized I don't have access to any context | information/classes since this is just a plain JAX-WS web service and not a | web application, so it is not using the JSP/JSR technologies.

[SOLUTION]RE: accessing web.xml

2008-05-29 Thread Chris Richmond
: accessing web.xml Ok, Here is what I did that works. In my web.xml I have this entry right inside my web-app parent element: web-app version=2.5 blah blah env-entry env-entry-namemyvalue/env-entry-name env-entry-valuechris was here/env-entry-value env-entry

accessing web.xml

2008-05-28 Thread Chris Richmond
Hello all, I have created a web service using JAX-WS and deployed my .war and it runs fine, but now I want to convert some hard-coded config values to read values from the WEB-INF/web.xml file that was created/deployed. I have addes something like the following to my web.xml: