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 Problem with import statement 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 "Problem with import statement" Watch "Problem with import statement" New topic

Problem with import statement

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have a (Shop)Bean file saved and compiled in
I have my servlet(SS) which uses this bean file in
In my servlet I say
import shopping.Beanfile
I get an error when I compile my servlet Class not found in import.
import shopping.CD;
1 error
What does this mean what is the mistake I am making???
Srividya Shiv
Ranch Hand

Joined: Jul 20, 2000
Posts: 31
Try setting the classpath to where ur bean classes are located
subject: Problem with import statement
Similar Threads
JSP not working in JWS
Can not find server or DNS error
How to run a Servlet using java web server
Reading local file
How to test my servlet