Hi all , I am just starting with JSP1.2 and Tomcat 4.0. As Tomcat documentation says I created my project directory under c:\Is_Project and under that I have src,web,doc folders and I have build.xml too.I created simple jsp file under c:\IS_Project\web\header.jsp. I got confused here. What is my next step, how should I deploy onto tomcat?And when I run ant build command in the c:\Is_project directory it says biuld failed target build does not exist. My tomcat home directory is CATALINA_HOME: c:\program files\Apachegroup\Tomcat4.1 I know if I place my header.jsp under $CATALINA_HOME\webapps\root i can dispaly thorugh the browser,but what i am not understanding is how to copy my all files under web and src to tomcat directly and where to copy. I really appreciate if somebody help me out in understanding the fundamentals here. Archana
Complete information is there on the links mentioned by Mike. But make sure that on windows system your catalina.home variable is set to C:\\Program Files\\Apache Group\\Tomcat 4.1 ( Path where Tomcat is installed on your system, and note down double \\ ), in build.xml/build.properties file. And if catalina.home variable is set in both build.xml and build.properties, then whichever gets loaded first will take the preference. ( Check out your build.xml file to verify the sequence ... ) - Krishan
- Krishan Leekha
Do not wait for leaders.Do it alone, person to person. - Mother Teresa
Hi Thank you for the reply.Actually i did go through that documentation before itself. But some issue are misisng in it or i am not sure may be i am not able understand. Any way i changed my mind to place all the source files under the tomcat webapps itself. Archana
Happily living in the valley of the dried frogs with a few tiny ads.