Solved

Servlet

Posted on 2002-07-30
8
228 Views
Last Modified: 2013-11-24
How can I write Java Servlet with latest J2SE and J2EE ? Which class file do I need to include during compile ?

Andrew
0
Comment
Question by:andrewyu
  • 4
  • 3
8 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 7188619
you need to download the Servlet API:
http://java.sun.com/products/servlet/2.2/
0
 
LVL 92

Expert Comment

by:objects
ID: 7189326
> How can I write Java Servlet with latest J2SE and J2EE ?

yes

> Which class file do I need to include during compile ?

servlet.jar from j2ee

0
 

Author Comment

by:andrewyu
ID: 7189661
I had installed J2EE 1.3.1 SDK, however, I canno find  this file !

Anyway, thank you very much !

Andrew
0
 
LVL 92

Accepted Solution

by:
objects earned 50 total points
ID: 7192139
Sorry forgot they didn't call it servlet.jar.
The jar you need is j2ee.jar (in the lib directory I think).
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:andrewyu
ID: 7192451
Yes, I got it !
Thank you very much !

Andrew
0
 
LVL 92

Expert Comment

by:objects
ID: 7192456
So why the 'C' ???
0
 

Author Comment

by:andrewyu
ID: 7192493
Sorry, to tell you that I had already got this answer before you give me this answer.

Anyway, thank you very much !

Andrew
0
 
LVL 92

Expert Comment

by:objects
ID: 7192500
That doesn't lower the correctness of my answer :-(
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now