| Author |
Starting with JSP
|
Archana Annamaneni
Ranch Hand
Joined: Jan 29, 2003
Posts: 147
|
|
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 tomact directly and where to copy. I know all these are basic questions,but i really appreciate if somebody help me out in understanding the fundamentals here. Archana
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
First of all, you should be asking these kinds of questions in the Tomcat forum, where there will be more people with the experience to help you. Short answer, though, is learn how to make a J2EE WAR file. Once your webapp is packaged in a WAR, you can drop it into the tomcat webapps directory. There are variations and details on this, but that's enough to get you started.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: Starting with JSP
|
|
|