• 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

Newbie Servlet question

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So far in java, I have only written applications. Now I want to try writing servlets. I have looked at some source code examples in books. I understand what they are describing in the coding examples they show.
I have tried compiling one of the programs and I am getting a lot of errors. I assume that I need additional jar/class files to make them compile.
Also, I see in the books that I need a "servlet" engine once I am able to compile the programs. The books give Tomcat as an example of a servlet engine.
What do I need to do in order to be able to:
1. Compile a java servlet file?
2. Run a java servlet file? (Can you recommend a servlet engine)

Sorry for greeness of the question.
 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Download tomcat and installed it. Configuration is kinda complex but you will get it. Read tomcat docs follow how to set tomcat path? Once path is set, try their sample examples. When you see their example is working. Write your own. Goodluck BK.
What do I need to do in order to be able to:
1. Compile a java servlet file?
2. Run a java servlet file? (Can you recommend a servlet engine)
Sorry for greeness of the question.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic