Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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

running

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi guys
I new about jboss.I downloaded jbosswithtomcat server.So i need to run small servlet program .So how can i run the servlet.I complie servlet,where i can putmy servet class file.can any body guide to me ...
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I've got stuff working with Tomcat, so I might be able to help. The first thing you need is to be able to call tomcat from a web browser. This can either be done by using an HTTP Connector (go to the Tomcat section of jakarta.apache.org for information) or you can install a web server (i recommend apache, also from that website).
If you don't use a web server, you need the HTTP connector, otherwise you need a Coyote connector or similar.
Then you need to setup the contents of Tomcat's 'webapps' directory with your servlets and jsp's. This is an official structure defined by Sun for servlet containers - but tomcat does come with some examples of it's own.
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic