i list my configured parameters here:
JAVA_HOME=D:\JBuilderX\jdk1.4
J2EE_HOME=D:\Sun\j2sdkee1.3.1
PATH=%JAVA_HOME%\bin;
CLASSPATH=.;%J2EE_HOME%\lib\j2ee.jar
when i compile a
java file, it says: package javax.servlet does not exist. connot resolve symbol HttpServlet, ...
i can run petstore demo on my local j2ee server, once start j2ee server, i can invoke this program through
http://localhost:8000/petstore/index.jsp, however, i copy the petstore.war file to <tom-cat>\webapps\, and then start tomcat, the petstore.war package is uncompressed, but i cannot invoke it through
http://localhost:8080/petstore/index.jsp uncompressed directory:
petstore
|
|--index.jsp, all jsp files are presented here.
|--META-INF
|--images
|--WEB-INF
is there anything wrong with my operations? how can i compile my servlet code and deploy it on tomcat
any help and suggestions are appreciated.