aspose file tools*
The moose likes Servlets and the fly likes Tomcat and servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat and servlet" Watch "Tomcat and servlet" New topic
Author

Tomcat and servlet

Jimi Rock
Ranch Hand

Joined: Feb 19, 2001
Posts: 134
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

Joined: Mar 31, 2001
Posts: 2
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
 
subject: Tomcat and servlet