Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Servlet calling

Status
Not open for further replies.

porto2001

Programmer
Mar 7, 2001
24
PT
i have a servlet who needs to call a diferent class.
The problem is when i compile the servlet, he doesn't recognize the packages import javax.servlet.* and javax.servlet.http.*
How can i call a class
(in this case public class NameClass implements Printable) within a servlet


Thanks
 
well first of all what platform are you using
if it is NT then you have to check the enviroments variavles located in configuration/system/enviroment/, ther yo have to see if the path of the servlet.jar int the classpath variable is well formed.
If u are using windows 98 check the autoexec.bat file with the notepad and check the servlet.jar file in the classpath.
 
Really depends on what Servlet Engine you are using as to which jar needs to be on the CLASSPATH. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top