RE: Shared web.xml

2005-06-06 Thread Trice, Jim
-Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 4:29 PM To: Tomcat Users List Subject: Re: Shared web.xml On Thu, Jun 02, 2005 at 02:01:15PM -0500, Trice, Jim wrote: :I inherited a tomcat installation with two tomcat servers running RedHat

Re: when web.xml changes webapp does not reload if not in webapps (only TC 5.5.9!!)

2005-06-04 Thread charly
@jakarta.apache.org Sent: Friday, June 03, 2005 6:33 AM Subject: Re: when web.xml changes webapp does not reload if not in webapps .. On 6/3/05, charly [EMAIL PROTECTED] wrote: For example if I change web.xml of manager the manager webapp will not automatically reload. I think you cannot start,stop

Re: Shared web.xml

2005-06-02 Thread QM
On Thu, Jun 02, 2005 at 02:01:15PM -0500, Trice, Jim wrote: :I inherited a tomcat installation with two tomcat servers running RedHat : Enterprise 3 and tomcat 4.1. They are being load balanced behind a netscaler. : The webapps directory and thus the web.xml files for each context are shared :

Re: when web.xml changes webapp does not reload if not in webapps ..

2005-06-02 Thread Anto Paul
On 6/3/05, charly [EMAIL PROTECTED] wrote: For example if I change web.xml of manager the manager webapp will not automatically reload. I think you cannot start,stop or reload the manager application. If you look at the localhost/manager/html you can see that there is no link to do that. --

RE: in web.xml

2005-01-17 Thread Peter Crowther
From: Mark [mailto:[EMAIL PROTECTED] I need to set '' and '' characters in init-param field of web.xml Is there any standard way of setting up and reading those type of characters in web.xml file? As in all HTML and XML files, lt; and gt; are the character entities that represent and

RE: in web.xml

2005-01-17 Thread Mark
will getInitParameter(...) translate lt; to ? --- Peter Crowther [EMAIL PROTECTED] wrote: From: Mark [mailto:[EMAIL PROTECTED] I need to set '' and '' characters in init-param field of web.xml Is there any standard way of setting up and reading those type of characters in web.xml

Re: in web.xml

2005-01-17 Thread Tim Funk
You can use CDATA. For example: param-value ![CDATA[bWoo hoo/b ]] /param-value -Tim Mark wrote: Hi there, I need to set '' and '' characters in init-param field of web.xml Is there any standard way of setting up and reading those type of characters in web.xml file?

Re: in web.xml

2005-01-17 Thread Roberto Cosenza
Sure! Mark wrote: will getInitParameter(...) translate lt; to ? --- Peter Crowther [EMAIL PROTECTED] wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: RE : web.xml

2004-12-06 Thread Allistair Crossley
. -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 14:44 To: Andreas Andersson; [EMAIL PROTECTED] Subject: RE : web.xml Hi Andreas. You can get you parameter with: 'request.getSession().getServletContext().getInitParameter(CO

RE: RE : web.xml

2004-12-06 Thread Allistair Crossley
is there an echo in here? -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 14:57 To: Andreas Andersson; [EMAIL PROTECTED] Subject: RE : web.xml Your value is also available in a jsp with %= application.getInitParameter

Re: understanding web.xml

2004-08-17 Thread Thilo Krawietz
Hi Tobias, in Suns official Servlet specification all elements of web.xml are explained widely, so i would suggest, that you study this one. You can get it here: http://java.sun.com/products/servlet/download.html Hope this helps regards, Thilo Tobias Eriksson wrote: Hi I have been searching

RE: understanding web.xml

2004-08-17 Thread Andy Eastham
Also look at the sample chapter at http://www.moreservlets.com/ Andy -Original Message- From: Thilo Krawietz [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 08:07 To: Tomcat Users List Subject: Re: understanding web.xml Hi Tobias, in Suns official Servlet specification all

Re: understanding web.xml

2004-08-17 Thread Tim Funk
See Sun's Java Web Services Developer Pack http://java.sun.com/webservices/jwsdp/index.jsp -Tim Tobias Eriksson wrote: Hi I have been searching the web some for information about how to configure / setup; web.xml, but haven't really found anything. I thought there would be something in the

Re: Tomcat-- web.xml -- context -- element query

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

RE: Tomcat-- web.xml -- context -- element query

2004-06-18 Thread Shapira, Yoav
Hi, I have tried setting debug=0 but it doesnt work as you described, i.e. I didn't say to set debug=0 (though I should have). Most of tomcat's logging is done via commons-logging. You need to write a commons-logging configuration file (there's a FAQ entry on how to do this) and set the level

Re: Secure web.xml and WEB-INF

2004-05-31 Thread Ryan Stewart
-Original Message- From: Bond, James Bond[EMAIL PROTECTED] To: Tomcat Users List[EMAIL PROTECTED] Date: Sun May 30 22:40:16 PDT 2004 Subject: Secure web.xml and WEB-INF Hello. Please, give me some tips how to secure (deny for reading in browser) access to web.xml and WEB-INF folder? Any

Re: Secure web.xml and WEB-INF

2004-05-31 Thread Ryan Stewart
-Original Message- From: Bond, James Bond[EMAIL PROTECTED] To: Tomcat Users List[EMAIL PROTECTED] Date: Sun May 30 22:40:16 PDT 2004 Subject: Secure web.xml and WEB-INF Hello. Please, give me some tips how to secure (deny for reading in browser) access to web.xml and WEB-INF folder? Any

Re: Secure web.xml and WEB-INF

2004-05-31 Thread Ryan Stewart
-Original Message- From: Bond, James Bond[EMAIL PROTECTED] To: Tomcat Users List[EMAIL PROTECTED] Date: Sun May 30 22:40:16 PDT 2004 Subject: Secure web.xml and WEB-INF Hello. Please, give me some tips how to secure (deny for reading in browser) access to web.xml and WEB-INF folder? Any

RE: Secure web.xml and WEB-INF

2004-05-31 Thread Schalk
] :: Subject: Re: Secure web.xml and WEB-INF :: :: -Original Message- :: From: Bond, James Bond[EMAIL PROTECTED] :: To: Tomcat Users List[EMAIL PROTECTED] :: Date: Sun May 30 22:40:16 PDT 2004 :: Subject: Secure web.xml and WEB-INF :: :: Hello. Please, give me some tips how to secure (deny

Re: RE: web.xml for an application in tomcat 5.0.16

2004-01-29 Thread Avinash Sridhar
Hi, thanks for the mail,It is indeed WEB-INF.I will try out what you have mentioned and get back to you. Thanks again AS On Thu, 29 Jan 2004 Shapira, Yoav wrote : Howdy, I am wanting to learn servlets and use it in an application.I was told that the right way to do this is to have a

RE: global.asa - Web.xml

2003-12-18 Thread GuptaD
December 2003 23:31 To: Tomcat Users List Subject: Re: global.asa - Web.xml In your web.xml file: context-param param-namecity_name/param-name param-valueNY/param-value /context-param In your JSP City: %= application.getInitParameter(session-expired-page)% On Monday 15 December

Re: localize web.xml

2003-12-17 Thread Adam Hardy
On 12/17/2003 11:15 AMnbsp;Jason Novotny wrote: Hi, In my project I use getServletContextName to get me the description of the webapp specified in web.xml. However, is there a way to maintain localized descriptions? It seems it only allows me to set on entry so if I present that to my

RE: global.asa - Web.xml

2003-12-15 Thread Shapira, Yoav
Howdy, I'm trying to do something as simple as define global constants for my JSP application. In ASP there is a Global.asa file and the closest thing in JSP is of course the web.xml file. I defined a value in my web.xml file and assumed I could retrieve it using the following line: String

RE: global.asa - Web.xml

2003-12-15 Thread neal cabage
Oops, you're right that line would not have compiled...I meant I use this: DataSource ds = (DataSource) new InitialContext().lookup(application.getInitParameter(db.jndi.dsn)); ...to get a datasource values and assumed the similar line would work for retrieving a String: String str =

RE: global.asa - Web.xml

2003-12-15 Thread Shapira, Yoav
Howdy, Oops, you're right that line would not have compiled...I meant I use this: DataSource ds = (DataSource) new InitialContext().lookup(application.getInitParameter(db.jndi.dsn)); What is the type of the application object? ...to get a datasource values and assumed the similar line would

Re: global.asa - Web.xml

2003-12-15 Thread Ben Souther
In your web.xml file: context-param param-namecity_name/param-name param-valueNY/param-value /context-param In your JSP City: %= application.getInitParameter(session-expired-page)% On Monday 15 December 2003 02:40 pm, you wrote: I'm trying to do something as simple as

Re: global.asa - Web.xml

2003-12-15 Thread neal cabage
Ah, thanks Ben. Yes, I tried what I wrote prior and also tried application.getAttribute ... but didn't realize there was a getInitParameter() method. That did the trick. Thanks. N Ben Souther [EMAIL PROTECTED] wrote: In your web.xml file: city_name NY In your JSP City: On

Re: global.asa - Web.xml

2003-12-15 Thread Ben Souther
No problem. BTW: If you're not using an IDE for development, you might want to bookmark the j2ee API Docs. http://java.sun.com/j2ee/1.4/docs/api/ On Monday 15 December 2003 07:39 pm, you wrote: Ah, thanks Ben. Yes, I tried what I wrote prior and also tried application.getAttribute ... but

Re: global.asa - Web.xml

2003-12-15 Thread SAT
hi why do not u try this statment inyour jsp? getServletContext().getInitParameter(the parameter name as given in web.xml); this statement will just retrieve the value of the parameter name u set in the web.xml. good luck sat - Original Message - From: neal cabage [EMAIL PROTECTED] To:

Re: about web.xml and servlet mapping and reloading

2003-08-19 Thread Tim Funk
1) Stop and start the context. Reload only dumps the classloader and creates a new one. 2) Use a persistent manager (JBDC, file, ...) which will probably still be required with a context stop/start -Tim Nitschke Michael wrote: I try to dynamically create and change servlet mapping in the

Re: about web.xml and servlet mapping and reloading

2003-08-19 Thread John Turner
Reloading/restarting your web application is not the same as reloading/restarting Tomcat. You can reload/restart web applications without restarting Tomcat. That's what the manager app is for, and that documentation says that a web app reload will not re-read web.xml, you need a web app

RE: about web.xml and servlet mapping and reloading

2003-08-19 Thread Shapira, Yoav
Howdy, Are you misunderstanding the difference between a webapp reload and a webapp restart? Yoav Shapira Millennium ChemInformatics -Original Message- From: Nitschke Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 7:30 AM To: [EMAIL PROTECTED] Subject: about web.xml

RE: about web.xml and servlet mapping and reloading

2003-08-19 Thread Mike Curwen
As I read it, you are asked to stop and start the *web application* not Tomcat. So instead of a single 'reload' click, you must first click 'stop' and then 'start'. -Original Message- From: Nitschke Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 6:30 AM To:

RE: about web.xml and servlet mapping and reloading

2003-08-19 Thread Steph Richardson
mappings in accordance with the now re-read web.xml Steph -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 9:48 AM To: 'Tomcat Users List' Subject: RE: about web.xml and servlet mapping and reloading As I read it, you are asked

Re: Tomcat web.xml web-app/error-page support

2003-06-23 Thread Jason Bainbridge
On Tue, 24 Jun 2003 01:16, Lukas Bradley wrote: Does Tomcat support the web.xml DTD web-app/error-page option? It is parsed in the org.apache.catalina.startup.WebRuleSet, but I've never seen any documentation on it. Please see the FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#error

RE: Tomcat web.xml web-app/error-page support

2003-06-23 Thread Shapira, Yoav
Howdy, Tomcat supports the error-page directive as described in the Servlet Specification, v2.3. That document contains all the necessary documentation for users ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Lukas Bradley [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Tomcat web.xml web-app/error-page support

2003-06-23 Thread Lukas Bradley
Does Tomcat support the web.xml DTD web-app/error-page option? It is parsed in the org.apache.catalina.startup.WebRuleSet, but I've never seen any documentation on it. http://jakarta.apache.org/tomcat/faq/misc.html#error Thanks for the quick response, Jason. I apologize for not

Re: Tomcat web.xml web-app/error-page support

2003-06-23 Thread Tim Funk
Doh! Its now on my to fix list. -Tim Jason Bainbridge wrote: On Tue, 24 Jun 2003 01:16, Lukas Bradley wrote: Does Tomcat support the web.xml DTD web-app/error-page option? It is parsed in the org.apache.catalina.startup.WebRuleSet, but I've never seen any documentation on it. Please see the

Re: RE: one web.xml for many web apps

2003-06-07 Thread Bill Barker
for all of them: its a technical limit. Regards, Arnaud Messages d´origine De: Shapira, Yoav [EMAIL PROTECTED] Date: Vendredi 6 Juin 2003 14:13 Objet: RE: one web.xml for many web apps Howdy, There is one deployment descriptor per web application. This deploymentdescriptor

RE: one web.xml for many web apps

2003-06-06 Thread Shapira, Yoav
Howdy, There is one deployment descriptor per web application. This deployment descriptor is web.xml. Struts lets you define many sub applications or application flows (which translate into struts controller servlets) in every web application. The question is whether these application flows

Re: RE: one web.xml for many web apps

2003-06-06 Thread BOULAY Arnaud
Ok, thanks ! but what about commons tips (like timeout) : one web.xml for many web apps implies the same session timeout for all of them: its a technical limit. Regards, Arnaud Messages d´origine De: Shapira, Yoav [EMAIL PROTECTED] Date: Vendredi 6 Juin 2003 14:13 Objet: RE: one

RE: RE: one web.xml for many web apps

2003-06-06 Thread Shapira, Yoav
[mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 11:25 AM To: Tomcat Users List Subject: Re: RE: one web.xml for many web apps Ok, thanks ! but what about commons tips (like timeout) : one web.xml for many web apps implies the same session timeout for all of them: its a technical limit. Regards

Re: RE: web.xml servlet and resources

2003-02-22 Thread Vernon Wu
One way to deal with this issue is to break down the file type in the someservlet directory rathen than having a URL mapping for the whole directory. Say for all JSP files, you have servlet-mapping servlet-nameTheServlet/servlet-name url-pattern/*.jsp/url-pattern

Re: RE: web.xml servlet and resources

2003-02-22 Thread Vernon Wu
After sent out the previous email, I just recoginzed the orginal one was more than two weeks ago. Sorry for unwanted reply. 22/02/2003 3:46:48 PM, Vernon Wu [EMAIL PROTECTED] wrote: One way to deal with this issue is to break down the file type in the someservlet directory rathen than

RE: huge web.xml

2003-02-18 Thread Shapira, Yoav
Howdy, Since someone has to represent the old school around here -- emacs! ;) ;) (Yes it's a slow day around here, everyone is at home due to snow) Yoav Shapira Millennium ChemInformatics -Original Message- From: Liq Wnq [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 15, 2003

RE: huge web.xml

2003-02-16 Thread Reynir Hübner
Maybe all you need to do is use a good xml editor. Why is it getting so big ? I recommend xml-spy as a good xml editor Hope it helps -reynir -Original Message- From: Liq Wnq [mailto:[EMAIL PROTECTED]] Sent: 15. febrúar 2003 19:18 To: [EMAIL PROTECTED] Subject: huge web.xml

RE: huge web.xml

2003-02-16 Thread Mark
Cooktop is a good (and free) XML editor/validator for Windows. http://www.xmlcooktop.com/ At 2/16/2003 05:06 PM, you wrote: Maybe all you need to do is use a good xml editor. Why is it getting so big ? I recommend xml-spy as a good xml editor Hope it helps -reynir -Original

Re: troubleshooting web.xml

2003-01-20 Thread Erik Price
Steve R Burrus wrote: Hi Erik, I need some help w. the very same problem which you have seemed to encounter, that is my utter ability to see/view successfully a servlet in my web browser!!! Now, you say that u edit the various servlet tags in the web.xml file!! How do you go about editing the

Re: troubleshooting web.xml

2003-01-18 Thread Steve R Burrus
Hi Erik, I need some help w. the very same problem which you have seemed to encounter, that is my utter ability to see/view successfully a servlet in my web browser!!! Now, you say that u edit the various servlet tags in the web.xml file!! How do you go about editing the servlet name and servlet

Re: troubleshooting web.xml

2003-01-13 Thread Lajos Moczar
Erik - I presume the action for your form is login and not /login? Perhaps you can show use your form as well. Lajos Erik Price wrote: I've got a JSP in the top level of my webapp which has a form that submits to this URI: login. In my web.xml, I have the following, based off of the

Re: troubleshooting web.xml

2003-01-13 Thread Erik Price
Lajos Moczar wrote: Erik - I presume the action for your form is login and not /login? Perhaps you can show use your form as well. Lajos Hi Lajos, Yes, the action of the form is login -- good point, I should have posted it earlier: div class=main h2Please log in:/h2 form method=post

Re: troubleshooting web.xml

2003-01-13 Thread Erik Price
Lajos -- I take it all back. It appears that fully stopping my webapp and then starting it again has done the trick. I didn't think that this was required, I thought a reload should do it. Can anyone please confirm that this is the expected behavior? Thanks! Erik Erik Price wrote:

Re: troubleshooting web.xml

2003-01-13 Thread Lajos Moczar
Someone may correct me, but AFAIK, a reload does not mean a re-read of web.xml. At least that has been my experience with 4.0.x versions. Regards, Lajos Erik Price wrote: Lajos -- I take it all back. It appears that fully stopping my webapp and then starting it again has done the trick. I

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Dodd Gatsos
The servlet is starting the ConnectionPool in the Init() method? It may be calling the Init method twice. Don't know why this might be happening, but you may try to set a static boolean condition around the creation of the ConnectionPool and set it to false inside. That way if it gets called

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Ching-yu Hsueh
Dood idea! Dodd. I tried as you mentioned, but still starts the pool twice. The servlet to start the pool in the Init() method. I had a static boolean variable to check if the pool is already exists and another static counter to check how many times my Init() method get called. It looks like

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Dodd Gatsos
are starting Tomcat through Apache and also starting Tomcat as stand-alone as well. - Original Message - From: Ching-yu Hsueh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 3:41 PM Subject: Re: Why web.xml in my application runs twice when use Apache as Web Server

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Ching-yu Hsueh
in two seperate JVMs. It almost sounds as if you are starting Tomcat through Apache and also starting Tomcat as stand-alone as well. - Original Message - From: Ching-yu Hsueh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 3:41 PM Subject: Re: Why web.xml in my

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Ching-yu Hsueh
] To: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 3:41 PM Subject: Re: Why web.xml in my application runs twice when use Apache as Web Server? Dood idea! Dodd. I tried as you mentioned, but still starts the pool twice. The servlet to start the pool in the Init() method. I had a static

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Dodd Gatsos
] Sent: Thursday, December 19, 2002 5:10 PM Subject: Re: Why web.xml in my application runs twice when use Apache as Web Server? Hi, Dodd: Sorry that I should put the pool shut down log file also. Let me put them together as follows: When I start Tomcat: Starting service Tomcat-Standalone

RE: Does web.xml inherit?

2002-11-26 Thread Roberts, Eric
As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25.

RE: Does web.xml inherit?

2002-11-26 Thread Ben Ricker
On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. Actually, we found that this is

RE: Does web.xml inherit?

2002-11-26 Thread Arshad . Hussain
]] Sent: Tuesday, November 26, 2002 9:49 AM To: Tomcat Users List Subject: RE: Does web.xml inherit? On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say

RE: Does web.xml inherit?

2002-11-26 Thread Ben Ricker
minutes. It worked). Ben Ricker Wellinx.com -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 9:49 AM To: Tomcat Users List Subject: RE: Does web.xml inherit? On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know

Re: AW: web.xml error

2002-10-23 Thread AnnWenzel
Thanks I changed my web.xml file and I no longer get the message. Ann

Re: AW: web.xml error

2002-10-21 Thread AnnWenzel
I am having the same problem. My web.xml file is as follows and appears to be in the correct order. Do I need to add something to the file. Thanks Ann ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN

RE: AW: web.xml error

2002-10-21 Thread Julius Davies
Ann, This error has also happened to me. I found it pretty confusing at first, especially since other java web servers (JRun, Weblogic) don't seem to care what order the web.xml is in (am I correct in this?). Try this instead: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app

Re: loading web.xml file from own class?

2002-05-28 Thread Larry Meadors
You might look at the jakarta-commons Digester component. It allows you to fairly easily rip through an xml doc without writing your own sax/dom processor. Larry [EMAIL PROTECTED] 05/27/02 01:53AM is there a way of loading or access the web.xml from a non-servlet class?

Re: loading web.xml file from own class?

2002-05-28 Thread tek1
thanks. will give it a look. At 08:56 02/05/28 -0600, you wrote: You might look at the jakarta-commons Digester component. It allows you to fairly easily rip through an xml doc without writing your own sax/dom processor. Larry [EMAIL PROTECTED] 05/27/02 01:53AM is there a way of loading

Re: Access web.xml context-param From A Bean?

2002-02-17 Thread Craig R. McClanahan
On Sun, 17 Feb 2002, Kennedy Clark wrote: Date: Sun, 17 Feb 2002 11:04:09 -0500 From: Kennedy Clark [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Access web.xml context-param From A Bean? I have values I want set at deployment time

Re: Multiple web.xml files?

2001-10-24 Thread Frank Lawlor
That would be nice. In my app, when I add a Client I need to add a set of security constraints, mappings, etc. It would make maintenance MUCH easier if these could be modularized. This would also require more flexibility in the organization of the web.xml file. Ideally this functionality

Re: Multiple web.xml files?

2001-10-23 Thread Dmitri Colebatch
what you're asking for in terms of web.xml merging. Re adding mappings dynamically, again, not sure if its natively supported, but you could write a servlet that matches /* and have that read and re-read its own config file for dispatching requests. cheers dim

Re: TC4: web.xml and reloading

2001-09-12 Thread Jim Cheesman
At 05:54 AM 12/09/01, you wrote: Remy Maucherat wrote: Essentially, yes. JAR reloading is not very reliable on my Windows box, though (and you can't remove JARs; but strangely you can ovewrite them). Sometimes, the changes get picked up, sometimes they do not. I have yet to find the

Re: TC4: web.xml and reloading

2001-09-12 Thread Bojan Smojver
Jim Cheesman wrote: I have to back this statement up - jar reloading on TC4/Win2000 is a risky business, to say the least. Sometimes it works, sometimes not... I wonder if it's anything to do with the server checking for a new jar at the same time as the filesystem overwrites the old one?

Re: TC4: web.xml and reloading

2001-09-12 Thread Jim Cheesman
At 09:22 AM 12/09/01, you wrote: Jim Cheesman wrote: I have to back this statement up - jar reloading on TC4/Win2000 is a risky business, to say the least. Sometimes it works, sometimes not... I wonder if it's anything to do with the server checking for a new jar at the same time as the

Re: TC4: web.xml and reloading

2001-09-11 Thread Craig R. McClanahan
On Wed, 12 Sep 2001, Bojan Smojver wrote: Date: Wed, 12 Sep 2001 10:40:21 +1000 From: Bojan Smojver [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Subject: TC4: web.xml and reloading I looked through the source code and in the documentation of the

Re: TC4: web.xml and reloading

2001-09-11 Thread Bojan Smojver
Craig R. McClanahan wrote: On Wed, 12 Sep 2001, Bojan Smojver wrote: Date: Wed, 12 Sep 2001 10:40:21 +1000 From: Bojan Smojver [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Subject: TC4: web.xml and reloading I looked through the source

Re: TC4: web.xml and reloading

2001-09-11 Thread Remy Maucherat
My question was about web.xml, not the classes and jars (that's explained in Loader docs). If web.xml changes, TC3.3 will dump the app and reload because web.xml gets stored in the DependManager (from memory). Does TC4 behave the same? No web.xml reloading in TC 4. Remy

Re: TC4: web.xml and reloading

2001-09-11 Thread Bojan Smojver
Remy Maucherat wrote: My question was about web.xml, not the classes and jars (that's explained in Loader docs). If web.xml changes, TC3.3 will dump the app and reload because web.xml gets stored in the DependManager (from memory). Does TC4 behave the same? No web.xml reloading in TC

Re: TC4: web.xml and reloading

2001-09-11 Thread Remy Maucherat
Remy Maucherat wrote: My question was about web.xml, not the classes and jars (that's explained in Loader docs). If web.xml changes, TC3.3 will dump the app and reload because web.xml gets stored in the DependManager (from memory). Does TC4 behave the same? No web.xml reloading

Re: TC4: web.xml and reloading

2001-09-11 Thread Bojan Smojver
Remy Maucherat wrote: Remy Maucherat wrote: My question was about web.xml, not the classes and jars (that's explained in Loader docs). If web.xml changes, TC3.3 will dump the app and reload because web.xml gets stored in the DependManager (from memory). Does TC4 behave the

Re: TC4: web.xml and reloading

2001-09-11 Thread Bojan Smojver
Craig R. McClanahan wrote: When you set an application's Context entry to say reloadable='true', Tomcat starts a background task that watches for changes to *any* class that was originally loaded from /WEB-INF/classes or /WEB-INF/lib. If such a change is detected, the app will be reloaded.

Re: TC4: web.xml and reloading

2001-09-11 Thread Remy Maucherat
Craig R. McClanahan wrote: When you set an application's Context entry to say reloadable='true', Tomcat starts a background task that watches for changes to *any* class that was originally loaded from /WEB-INF/classes or /WEB-INF/lib. If such a change is detected, the app will be

Re: TC4: web.xml and reloading

2001-09-11 Thread Bojan Smojver
Remy Maucherat wrote: Essentially, yes. JAR reloading is not very reliable on my Windows box, though (and you can't remove JARs; but strangely you can ovewrite them). Sometimes, the changes get picked up, sometimes they do not. I have yet to find the reasons for this, unfortunately :-(

Re: locating web.xml

2001-07-26 Thread Mattias Karlsvaerd
You can read the Developing Applications With Tomcat it discribes in steps how you could develop a webapplication with Tomcat and how the directorytree should look like. It's availible on tomcat's homepage. The web.xml file should be placed in the WEB-INF dir in your docbase dir. You also have

Re: locating web.xml

2001-07-26 Thread JBrawner
] @yahoo.se cc: Subject: Re: locating web.xml 07/26/2001 10:27

Re: locating web.xml

2001-07-26 Thread Mattias Karlsvaerd
: Subject: Re: locating web.xml 07/26/2001 10:27 AM

Re: Default web.xml

2001-06-18 Thread Rob Agar
we also found this to be the case when setting up mime types. I think it's a 'feature' - if you create a new context, only the local web.xml has any effect. Rob pretty - Original Message - From: Timothy Shadel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 8:07 PM

Re: Default web.xml

2001-06-18 Thread Brett M. Bergquist
In tomcat 3.2.x, the web.xml in the conf directory is not used at all. I fact, you can completely remove it with no ill effects. Internally, Tomcat 3.2.x compiles in some defaults; mime mappings, the JSP servlet mapping, etc. In your application's web.xml specify anything that you need too

RE: Default web.xml

2001-06-15 Thread Michael Wentzel
What version of tomcat are you running? --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com

RE: Default web.xml

2001-06-15 Thread cathy moffatt
: RE: Default web.xml What version of tomcat are you running? --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com

Re: Default web.xml

2001-06-15 Thread Luba Powell
What is the error message you are getting? - Original Message - From: cathy moffatt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 4:09 PM Subject: RE: Default web.xml After much difficulty I did manage to get Tomcat3.2.2 to run servlets jsp, but only

Re: Default web.xml

2001-06-15 Thread Timothy Shadel
Shadel Luba Powell [EMAIL PROTECTED] 06/15/01 02:06PM What is the error message you are getting? - Original Message - From: cathy moffatt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 4:09 PM Subject: RE: Default web.xml After much difficulty I did manage to get

RE: reload web.xml from servlet?

2001-06-12 Thread Ofer Baranes
I guess that a destroy() on the servlet should cause a new init() with the ServletConfig as published on the web.xml.But it might be that it works only if the container call a destroy() . -Original Message- From: Sebastian Schulz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 12, 2001

Re: change web.xml restart

2001-03-03 Thread Valeriy Molyakov
Yes restart or yes other way(what way) ? Thank's ! - Original Message - From: Carlos To: [EMAIL PROTECTED] Sent: Friday, March 02, 2001 1:49 PM Subject: Re: change web.xml restart yes - Original Message - From: Valeriy Molyakov

Re: change web.xml restart

2001-03-03 Thread Carlos de la Flor
restart - Original Message - From: Valeriy Molyakov To: [EMAIL PROTECTED] Sent: Saturday, March 03, 2001 11:30 AM Subject: Re: change web.xml restart Yes restart or yes other way(what way) ? Thank's ! - Original Message - From

Re: change web.xml restart

2001-03-03 Thread Robert Keddie
Keddieweb developmentMarion County, FL [EMAIL PROTECTED] 03/03/01 05:02PM restart - Original Message - From: Valeriy Molyakov To: [EMAIL PROTECTED] Sent: Saturday, March 03, 2001 11:30 AM Subject: Re: change web.xml restart Yes restart or yes

RE: deep web.xml problem

2001-02-26 Thread Randy Layman
, February 26, 2001 9:54 AM To: [EMAIL PROTECTED] Subject: RE: deep web.xml problem -Randy Thank you for technical direction on deep web.xml problem... I will follow your lead to get this right... You asked "Does it make sense?" Not all of it. So I ask the following questions for cla

RE: deep web.xml problem

2001-02-26 Thread Dresmond.McLaurin
-Thank you very much, Randy... I got it right now... servlet-mapping - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: deep web.xml problem

2001-02-23 Thread Michael Wentzel
Yet, when I point my browser at the same servlets, I get null value for all params... HELP :( my conclusions from 4 days of debuggin: 1) Running Apache 1.3.14 with Tomcat 3.2.1 on NT4.0 and jre 1.3.0-C. 2) The problem must not be the location of web.xml since Tomcat finds it when

Re: configuring web.xml

2001-02-15 Thread Ludovic Maitre
Hello, Alex Fernndez wrote: Don't forget that you must change the web.xml file inside your WEB-INF directory, the one in /conf is just for shows. Alex. I think that i haven't good understand how work tomcat because i was thinking that the web.xml file provided in the /conf directory

  1   2   >