i went through the tutorial given in http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Download-Tomcat to configure tomcat. but the thing is only the .html files work and the .jsp files dont work. i downloaded the j2ee 1.5 sdk. after downloading it i set the class path to java/jdk. now the tomcat server is running but the javac command is not working. there is this HelloServlet.java file that i got from the site that im trying to compile. but when i do try to compile still it gives errors saying can not find import javax.servlet.*; & import javax.servlet.http.*; . i know these are packages from the j2ee but i did install j2ee. can anyone help me with this?
if who i am is what i have, and what i have is lost, then who am i?<br /> <br />SCJP 5.0<br />SCWCD 1.4<br />SCBCD preparing
the thing is i have set the classpath to those directories as given in the site i mentioned above. the thing is the problem with the compiler. when i compile it says it can not find the package names i mentioned earlier. i have installed j2ee 1.5. is it a problem with that? it came with something called sun application server. is that the problem? please help as im very new to j2ee technology.
what next? its still not working. i have set the class path to the j2se5.0 folder. but i also installed j2ee sdk as well because it didnt work before. do i need to set the class path to the j2ee sdk? if so to which path?
Joined: Aug 12, 2006
also now its saying that javac is not a recognized command when i type it in the command line.