• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet class problem In Tomcat

 
Bulent Kamberoglu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I just want to know how i can run a servlet class in Tomcat.I can compile the class.I can access it from html file.It shows servlet class's result.However,If I just want to run servlet class in Tomcat,I get error.What should i do to run a simple servlet class in Tomcat?One more thing ;

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\jdk1.5.0_04\bin;C:\Program C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\jdk1.5.0_04\bin;C:\Tomcat_5.5\bin;C:\Tomcat_5.5\common\lib\servlet-api.jar;C:\Program Files\Common Files\Adaptec Shared\System;C:\Sun\AppServer\bin

CLASSPATH:%JAVA_HOME%;C:\Tomcat_5.5\common\lib\servlet-api.jar

JAVA_HOME:c:\jdk1.5.0_04

Should I put C:\Sun\AppServer\bin in the PATH,and should i put C:\Tomcat_5.5\common\lib\servlet-api.jarin the CLASSPATH

Thanks in advance.

Cheers,
Bulent
 
Bulent Kamberoglu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally,I fixed the problem,now it works.Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!