• Post Reply Bookmark Topic Watch Topic
  • New Topic

Invoking Servlets  RSS feed

 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm new to servlets. I have j2ee installed, and I was told I wouldn't need Tomcat since j2ee comes with a server to deal with the servlets. My HElloWorld servlet compiles cleanly, and I can start the j2ee server without incident. How do I invoke servlets though? I'd appreciate any help.
Thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlets are invoked when you address them with the correct URL - typically from a browser. J2EE should come with plenty of examples. For the nitty-gritty details of where classes should be stored and how the web.xml file(s) should be configured, you can't beat the Java Servlet API - download it from java.sun.com
Bill

------------------
author of:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!