• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing Tomcat Apache

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,I am kind of new to Java programming,
I have Windows 2000 OS,and I have installed Java 5,
can you please tell me if i can install Tomcat Apache into it also
and run servlets using the same machine, without connecting to a Server?
Thank You.
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi jones,

you can install tomcat in windows 2000 and you can run a servlet...
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jones Iraland:
and run servlets using the same machine, without connecting to a Server?


Yes, your local machine serves the function of the server. You will able to access it via http://localhost:8080/ once you start Tomcat.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
see i'm new in java things...
you need just need to install Tomcat 6.0 which is very easy just keep clicking next next..dont change anything. & voila it works.

localhost:8080 will open the tomcat which is fully capable of servlet & JSP engine. Now to run servlets using the same machine save you servlets file in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\examples\servlets directory...

to see the existing examples in tomcat.. try
http://localhost:8080/examples/servlets/

regards
-k
 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic