DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   JSP (http://www.daniweb.com/forums/forum24.html)
-   -   servlets - javax.servlets does not exist (http://www.daniweb.com/forums/thread77583.html)

franhurley May 6th, 2007 8:36 pm
servlets - javax.servlets does not exist
 
Hi all Im a a newbie here and am currently haveing my first go at servlets. I am using netbeans5.5 and apache tomcat 6.0 and trying a simple helloThere servlet. Every time I try and compile it either with command line javac command or netbeans I get the above error. I have trawled teh help guides and web for help but it doesnt really help. Any ideas ?
Thanks
F

peter_budo May 7th, 2007 7:26 am
Re: servlets - javax.servlets does not exist
 
Because there is no javax.servlets
only
javax.servlet, reference here

franhurley May 7th, 2007 10:33 am
Re: servlets - javax.servlet does not exist
 
sorry that was a typo in this message. But still no nearer to trying fix the problem
f

peter_budo May 7th, 2007 11:18 am
Re: servlets - javax.servlets does not exist
 
Did you set CLASSPATH to jsp-api.jar and servlet-api.jar?

franhurley May 7th, 2007 11:26 am
Re: servlets - javax.servlets does not exist
 
yes I set environmental variables to point to tomcat jar files but should they point to the jsp-api.jar in tomcat jdk or netbeans - sorry very confused / Thanks for your patience !!

peter_budo May 7th, 2007 4:19 pm
Re: servlets - javax.servlets does not exist
 
tomcat, nothing to do with netbeans


All times are GMT -4. The time now is 2:24 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC