[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

Servlet

How can I write Java Servlet with latest J2SE and J2EE ? Which class file do I need to include during compile ?

Andrew
0
andrewyu
Asked:
andrewyu
  • 4
  • 3
1 Solution
 
CEHJCommented:
you need to download the Servlet API:
http://java.sun.com/products/servlet/2.2/
0
 
objectsCommented:
> 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
 
andrewyuAuthor Commented:
I had installed J2EE 1.3.1 SDK, however, I canno find  this file !

Anyway, thank you very much !

Andrew
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
objectsCommented:
Sorry forgot they didn't call it servlet.jar.
The jar you need is j2ee.jar (in the lib directory I think).
0
 
andrewyuAuthor Commented:
Yes, I got it !
Thank you very much !

Andrew
0
 
objectsCommented:
So why the 'C' ???
0
 
andrewyuAuthor Commented:
Sorry, to tell you that I had already got this answer before you give me this answer.

Anyway, thank you very much !

Andrew
0
 
objectsCommented:
That doesn't lower the correctness of my answer :-(
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now