This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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
Joined: Jun 30, 2003
Posts: 7
posted
0
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
Joined: Jul 01, 2002
Posts: 135
posted
0
sorry i made a mistake while typing the post, so what i actually have is: import javax.servlet.*;
James Chegwidden
Author
Ranch Hand
Joined: Oct 06, 2002
Posts: 201
posted
0
Are you using J2EE? JSP/Servlets, Beans are used with the Enterprise Edition- not the Standard edition.
Mr. C<br /> <br />Author and Instructor<br />My book:<br /><a href="http://www.aw-bc.com/catalog/academic/product/0,1144,1576761614,00.html" target="_blank" rel="nofollow">http://www.aw-bc.com/catalog/academic/product/0,1144,1576761614,00.html</a>
Andrew Lit
Ranch Hand
Joined: Jul 01, 2002
Posts: 135
posted
0
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
Joined: May 27, 2003
Posts: 91
posted
0
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