[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Servlet

Posted on 2002-07-30
8
Medium Priority
?
247 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 92

Accepted Solution

by:
objects earned 100 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
 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month20 days, 4 hours left to enroll

873 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