This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Starting with JSP" Watch "Starting with JSP" New topic
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: 15959
    
  19

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.
 
wood burning stoves
 
subject: Starting with JSP
 
Similar Threads
Servlet in Package Issue
How to deploy in Tomcat
Professional JSP 2nd edition ch06 errors
How to access a JSP from other JSP
determine if file or directory in a web application