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


JavaRanch » Java Forums » Java » Servlets
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat and servlet
 
Similar Threads
ServletFilter to allow/deny directory access -> save against "hackers"?
Tomcat server restarted automatically
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?