This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes URGENT !! Pls help..Error:..Package not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "URGENT !! Pls help..Error:..Package not found" Watch "URGENT !! Pls help..Error:..Package not found" New topic
Author

URGENT !! Pls help..Error:..Package not found

Raukutam Sandeep
Ranch Hand

Joined: Nov 15, 2000
Posts: 61
hi,

when i tried to import the package javax.servlet.*;
the compiler is giving the error, that no package found in import.
Pls help me with this. Why am I getting the error?
I downloaded recently the jar file containing all servlet classes, from sun's website. Where should I place it, inorder to resolve the above error?
Pls help me....
regds,
Sandeep.
NageswaraRao Karra
Ranch Hand

Joined: Nov 12, 2000
Posts: 34
hello!
try to set the classpath to where the jar file is in yr.system.
hope this rectifies the problem.
Raukutam Sandeep
Ranch Hand

Joined: Nov 15, 2000
Posts: 61
hi,
still i'm unable to solve the problem.
Anybody pls help on this.
thanx,
Sandeep.
Sheldon Rego
Greenhorn

Joined: Nov 03, 2000
Posts: 12
Hi Sandeep,
Try placing the dir classpath in the autoexec.bat file then try it out it should work there. I jope U know how to set the Classpath in the autoexec.bat file.
Try it and get back
Regards Shel :-)
Raukutam Sandeep
Ranch Hand

Joined: Nov 15, 2000
Posts: 61
hi,
thanx for u'r response.
Now it is working fine.
Thanx again,
regds,
Sandeep.
 
Consider Paul's rocket mass heater.
 
subject: URGENT !! Pls help..Error:..Package not found
 
Similar Threads
Pls find the error
How to access classes from a package that we have created?
Pls help..URGENT!!!! Reply asap
Sample code-Pl. help me!
Import error