Solved

Servlet

Posted on 2002-07-30
8
227 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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 the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

746 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

12 Experts available now in Live!

Get 1:1 Help Now