File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Starting with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Starting with JSP" Watch "Starting with JSP" New topic

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
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.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16537

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.
I agree. Here's the link:
subject: Starting with JSP