Forums Register Login

package does not exist

+Pie Number of slices to send: 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.
+Pie Number of slices to send: 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
+Pie Number of slices to send: Send
sorry i made a mistake while typing the post, so what i actually have is:
import javax.servlet.*;
+Pie Number of slices to send: Send
Are you using J2EE? JSP/Servlets, Beans are used with the Enterprise Edition- not the Standard edition.
+Pie Number of slices to send: 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.
+Pie Number of slices to send: 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
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 696 times.
Similar Threads
DaysOld and classpath
Struts2 Filter and Includes
Type Conversion in Assignment Context
weblogic workshop
HFSJ EL e.g. page 371
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:13:29.