Solved

Servlet

Posted on 2002-07-30
8
231 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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
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
 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySqlDump not dumping triggers 1 43
Android development question 2 55
ejb wildfly example 2 28
Eclipse Java import and method not resolved 4 52
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

820 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