By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,137 Members | 2,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,137 IT Pros & Developers. It's quick & easy.

Error:could not find javax.servlet.Servlet

P: 36
hi,

when i type javap javax.servlet.Servlet on the command propmpt iam gettting the following error
Error:could not find javax.servlet.Servlet

plz help me proper instructions to make it work


thanks
Oct 11 '07 #1
Share this Question
Share on Google+
4 Replies


100+
P: 283
hi,

when i type javap javax.servlet.Servlet on the command propmpt iam gettting the following error
Error:could not find javax.servlet.Servlet

plz help me proper instructions to make it work


thanks
my friend wats javap?am i missing something here? and why are you trying to run javax.servlet.Servlet?? any ways?
did you go to the directory where your jdk is set? if not then go there form your command prompt and then type javac javax.servlet.Servlet
regards,
ajos
Oct 11 '07 #2

Expert 10K+
P: 11,448
my friend wats javap?
'javap' is a java decompiler/disassembler; it comes with the other tools in the jdk.
Know your toolkit.

kind regards,

Jos
Oct 11 '07 #3

100+
P: 283
'javap' is a java decompiler/disassembler; it comes with the other tools in the jdk.
Know your toolkit.

kind regards,

Jos
thanks you my friend for enlighting me..that was great.. regarding javap...ya its showing me the me the methods and its syntax and the throws statement associated with it i.e the lifecycle of the servlet.thnks for the information...now i can just run the command and check the syntax or methods associated...
regards,
ajos
Oct 11 '07 #4

Expert 10K+
P: 11,448
hi,

when i type javap javax.servlet.Servlet on the command propmpt iam gettting the following error
Error:could not find javax.servlet.Servlet

plz help me proper instructions to make it work


thanks
Check or set your classpath. In itself your example is a bit strange because the
Servlet is part of the javax extension mechanism so I suspect an incorrect install
of your javax part.

kind regards,

Jos
Oct 11 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.