Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
package does not exist
Andrew Lit
Ranch Hand
Posts: 135
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
such error i get in this line
import javax.servlet;
what shoul i change in my classpath to get rid of this error?
thank you in advance.
sijtsche smeman
Greenhorn
Posts: 7
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
instead of import javax.servlet; use import javax.servlet.*;
You should
use this rule:
import packagename.classname; or * instead of classname for all classes in that package.
Sijtsche
Andrew Lit
Ranch Hand
Posts: 135
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
sorry i made a mistake while typing the post, so what i actually have is:
import javax.servlet.*;
James Chegwidden
Author
Posts: 201
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Are you using
J2EE
? JSP/Servlets, Beans are used with the Enterprise Edition- not the Standard edition.
Author and Instructor,
my book
Andrew Lit
Ranch Hand
Posts: 135
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
yes, i downloaded j2ee 1.4 sdk, added %installdir%/bin to the PATH and %installdir%/lib to the current CLASSPATH, but this package still is not found.
Susilo Saja
Ranch Hand
Posts: 91
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you put the lib directory or the j2ee.jar file into the CLASSPATH? you need to put j2ee.jar into the CLASSPATH, not the lib directory
Susilo
A "dutch baby" is not a baby. But this tiny ad is baby sized:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
DaysOld and classpath
Struts2 Filter and Includes
Type Conversion in Assignment Context
weblogic workshop
HFSJ EL e.g. page 371
More...