Re: Changing the 'ROOT' webapp (newbie question)
Definitely smart! Yoav, I think you're a smartass, but I mean that in the nicest and most complimentary way possible ;-) You're a constant source of help and relief to tomcat users on this list. I am always interested to read your posts and take a great interest in what you have to say! Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing the 'ROOT' webapp (newbie question)
Hi, You need to define a Context element for your webapp whose path= (the empty string, not /, not null). And you need to remove or rename the ROOT webapp. The Context element's configuration reference page (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html) contains more details. Yoav Shapira Millennium Research Informatics -Original Message- From: Barnet Wagman [mailto:[EMAIL PROTECTED] Sent: Saturday, May 15, 2004 12:55 PM To: [EMAIL PROTECTED] Subject: Changing the 'ROOT' webapp (newbie question) By default, when Tomcat gets a request for something like http://www.some_domain_name.com/ or http://www.some_domain_name.com it serves the file webapps/ROOT/index.jsp What is the preferred way of getting it return the index file of a different wep app? I haven't found anything in the conf xml files, the documentation, or the archives about this (which doesn't mean it isn't there, just that I didn't see it). Of course I could just change the contents of webapps/ROOT, but I suspect there's a better way. Thanks, bw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing the 'ROOT' webapp (newbie question)
I did this with my site, and had the empty string pointing to my /portal app. Everything worked okay until I put in container-managed security, and then when restricted pages were redirected to the login jsp, Tomcat seemed to lose the context completely, so none of my links worked (using request.getContext() or c:url .../ on the login page except the submit button. I stuck in a mini-app under the root to redirect to /portal as a work-around, but presumably this isn't expected behaviour. Digby PS. Yoav, I think I speak for many users on this mailing list who appreciate your help and don't think you're a smartass, asshole or dick! Keep up the good work. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 17 May 2004 14:04 To: Tomcat Users List Subject: RE: Changing the 'ROOT' webapp (newbie question) Hi, You need to define a Context element for your webapp whose path= (the empty string, not /, not null). And you need to remove or rename the ROOT webapp. The Context element's configuration reference page (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html) contains more details. Yoav Shapira Millennium Research Informatics -Original Message- From: Barnet Wagman [mailto:[EMAIL PROTECTED] Sent: Saturday, May 15, 2004 12:55 PM To: [EMAIL PROTECTED] Subject: Changing the 'ROOT' webapp (newbie question) By default, when Tomcat gets a request for something like http://www.some_domain_name.com/ or http://www.some_domain_name.com it serves the file webapps/ROOT/index.jsp What is the preferred way of getting it return the index file of a different wep app? I haven't found anything in the conf xml files, the documentation, or the archives about this (which doesn't mean it isn't there, just that I didn't see it). Of course I could just change the contents of webapps/ROOT, but I suspect there's a better way. Thanks, bw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - * Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing the 'ROOT' webapp (newbie question)
Hi, PS. Yoav, I think I speak for many users on this mailing list who appreciate your help and don't think you're a smartass, asshole or dick! Keep up the good work. Thank you ;) I'm glad to help, and I don't get offended easily, so no worries ;) Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing the 'ROOT' webapp (newbie question)
On Mon, 2004-05-17 at 16:11, Shapira, Yoav wrote: Hi, PS. Yoav, I think I speak for many users on this mailing list who appreciate your help and don't think you're a smartass, asshole or dick! Keep up the good work. Yoav, I think you're a smartass, but I mean that in the nicest and most complimentary way possible ;-) You're a constant source of help and relief to tomcat users on this list. I am always interested to read your posts and take a great interest in what you have to say! Thanks! Thank you ;) I'm glad to help, and I don't get offended easily, so no worries ;) Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may no - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Adam Buglass, The Golden Freeway, Department of Child Health, University of Newcastle-upon-Tyne. Royal Victoria Infirmary. (0191) 2023062 Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. ~Benjamin Franklin, 1759 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Changing the 'ROOT' webapp (newbie question)
By default, when Tomcat gets a request for something like http://www.some_domain_name.com/ or http://www.some_domain_name.com it serves the file webapps/ROOT/index.jsp What is the preferred way of getting it return the index file of a different wep app? I haven't found anything in the conf xml files, the documentation, or the archives about this (which doesn't mean it isn't there, just that I didn't see it). Of course I could just change the contents of webapps/ROOT, but I suspect there's a better way. Thanks, bw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]