• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

Starting with JSP

Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Saloon Keeper
Posts: 26541
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic