File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
ServletFilter to allow/deny directory access -> save against "hackers"?
Where the servlet file of JSP is stored after it got created?
Where the servlet file of JSP is stored after it got created?
Chron jobs?
Tomcat server restarted automatically