• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

How to deploy in Tomcat

 
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
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
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you talking about this?

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html

I've never used this process myself, but there seems to be some important details on this page: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/processes.html

On this page check out "Test your web application"
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Archana Annamaneni
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
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.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic