The only method by which I could imagine that you could execute a servlet outside the WEB-INF folder is if the servlet class file is in the class path. So, it could be done. But I definitely would not recommend this approach. I cannot think of any legitimate reason to do something like this.
The standard practice is to place servlet class files inside WEB-INF/classes and mapping requests to them in the web.xml file. What reason would you have for deviating from the standard practice?
If you really want to learn how to write web application using servlets and JSPs, I recommend picking up a copy of Core Servlets and JavaServer Pages by Marty Hall. You can get an electronic copy of the book online at http://pdf.coreservlets.com/.
At 18:59 2003-02-04 -0500, you wrote:
Hi, I'm new to Tomcat, using 4.1, and have set up Tomcat to run with Apache...that works. However my question is how can I put a JSP page or servlet in my site directory and have Tomcat recognize it and render it even though it's in a folder outside of web-inf? I'm using windowsXP right now. Thank you, in advance, for the help.-Nicholas Campbell "In a world without walls and barriers, what need is there for windows and gates!" - a mac ad - "I never let schooling get in the way of my education." - MT - Live Penguine! - Tux the linux mascot Vivez le penguine!, �Viva en penguine!, Lang lebe der Pinguin!, Viva no penguine!, Viva sul penguine! - "There are 10 kinds of people in this world...those who understand binary...and those who don't!" - ThinkGeek.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
