Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat and servlet

 
Jimi Rock
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I am using tomcat for running java servlet, and I have edited the textual file of a certain servlet, in which extention should I save it ?
"servlet_name.?", and how can I call a servlet from a normal java program that requires servlet for doing a certain job?
I would be grateful if some one tell me what is a War file.
Thanks for all,
Jimi.
 
raghu gowkanapalli
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
servlet_name.class
and there is no way to differentiate a .class file and servlet without looking at the java source(correct me if I am wrong).
.war stands for web applications archive and it's clearly spec'd out in servlet 2.2 specs.
hope this helps,
Raghu

Originally posted by Jimi Rock:
If I am using tomcat for running java servlet, and I have edited the textual file of a certain servlet, in which extention should I save it ?
"servlet_name.?", and how can I call a servlet from a normal java program that requires servlet for doing a certain job?
I would be grateful if some one tell me what is a War file.
Thanks for all,
Jimi.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic