• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

import javax.servlet

 
venuvvp prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am facing problem in importing javax.servlet.*;.i am using java1.5.
while i am compiling code it says package javax.servlet is not found
 
vas reddy
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to place servlet.jar in the path
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
 
sachin verma
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are using JDk only.

servlet is not the part of JDk.
use any of the above given solution or install appropriate version of j2sdk
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

Servlets are hardly beginner's Java, so I shall move you to the servlets forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic