• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Plz clear my doubt

 
Uma Vinodh
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am new to servlets.I am not able to compile and run it.
I downloaded Tomcat4.1
I want to know the requirements to compile and run servlet.

can anybody please help me.

Thanks,
UmaVinodh.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33699
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Uma,
Is servlet-api.jar in your classpath when you compile?

For an incredibly detailed tutorial, see the one at core servlets
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Tomcat 4, the jar file is named servlet.jar.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See:
http://faq.javaranch.com/view?CompilingServlets


Moving to Java In General (Beginner) where all javac and classpath issues go.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
UMA VINODH,

"Plz" is not a real word. Please be sure to use only real words such as "please" when posting to the JavaRanch.

And here are a few more tips to help you get the most out of JavaRanch as a resource:

1) Please modify your display name to be mixed case. The all-uppercase name is rather jarring and could be considered rude (shouting) by some. Our eyes will thank you.

2) Using a descriptive title helps direct the attention of those familiar with the area of your issue. "Plz clear my doubt" tells us nothing about the nature of your question. Please read this for more information.

3) Aside from telling us that you are having trouble compiling, your post is very light on details. It'd be more effective to include information such as how and what you've tried already. Please include more detail in your posts so that others know how to help you better.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic