Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Servlet-Interview-Questions naming convention for servlet in java
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


alka
naming convention for servlet in java
1 Answer(s)      6 years and 8 months ago
Posted in : Servlet Interview Questions


Need to know the naming convention for servlet in java


Advertisement
View Answers

February 24, 2008 at 2:23 PM


Hi,

Yes servlet.jar and servlet-api.jar is the same file. In case of tomcat servlet.jar is just renamed to servlet-api.jar.

You can verify extracting the two files servlet.jar and servlet-api.jar in different directories and then comparing the content.

How to extract jar file?

To extract the jar file use the following commands

For servlet.jar
jar -tvf servlet.jar

For servlet-api.jar

jar -tvf servlet-api.jar

Good Luck!


Related Tutorials/Questions & Answers:
Java Naming and Directory Interface (JNDI)
Java Naming and Directory Interface (JNDI)       The Java Naming and Directory Interface (JNDI... similar to all Java APIs that interface with host systems. Moreover
ControllerClassNameHandlerMapping class for handling convention mapping
In this section, you will learn about handling mapping in convention style using ControllerClassNameHandlerMapping class
Advertisements
servlet - Servlet Interview Questions
naming convention for servlet in java  Need to know the naming convention for servlet in java  Hi,Yes servlet.jar and servlet-api.jar is the same file. In case of tomcat servlet.jar is just renamed to servlet
Delhi Habitat World Convention Centre Information
Delhi Habitat World Convention Centre In a life full of chaos and confusion we.... To resolve this problem various cultural convention centers are being built around us... is the Habitat World Convention Centre of New Delhi. This habitat is situated
Java servlet
Java servlet  What is servlet
java (servlet) - JSP-Servlet
java (servlet)  how can i disable back button in brower while using servlet or JSP
Java(Servlet) - Servlet Interview Questions
Java Servlet examples  Java and Servlet programming examples
Java servlet
Java servlet  What is the difference between an applet and a servlet
JAVA SERVLET - JSP-Servlet
JAVA SERVLET Log   Hi, A servlet file which create the log files ,then writing values to the list & log, we should have a thousand separator and no decimal values. This means instead of writing 986300.0 in the Log file
java servlet
java servlet   im using ubuntu 12.04 and ialready installed eclipse but i dont know how to run the servlet programs please give brief procedure to run the servlet program in eclipse
BASIC Java - Java Tutorials
. Convention for naming of class According to naming convention in java, the first... follows the class naming convention of java : public class Hello... } } Naming convention for method According to naming convention
java servlet - JSP-Servlet
java servlet  hi friends, Thanks in advance. Am poornima am created new servlet in eclipse its open but without including any code am getting..., Put servlet-api.jar into the lib folder of apache tomcat server. Thanks
Java Servlet - JSP-Servlet
Java Servlet   Hello Sir Could you help me in understanding directory Structure for servlet page in eclipse (IDE). I save my Sevlet in WEB-INF but it is not displaying, it is displaying code of servlet. Process used
java servlet - Java Beginners
java servlet  how to use java servlet? and what the purpose of servlet?  Hi Friend, Please visit the following link: http://www.roseindia.net/servlets/ Hope that it will be helpful for you. Thanks
Java Servlet - JSP-Servlet
Java Servlet  3-tier structures of servlets
Java Servlet Problem - JSP-Servlet
Java Servlet Problem  I have a servlet class that implemets the ServletContextAttributeListener interface. I am overriding all three methods, but in the attributeReplaced() method, i want to perform a redirect to another servlet
java servlet programming - JSP-Servlet
java servlet programming  i want 2 insert the date time into the sql column of data type datetime through servlets dynamically .How 2 do dat
JAVA JSP and Servlet - JSP-Servlet
JAVA JSP and Servlet  for sending mail through lan without intenet and also chatting facility for online users using Java JSP & SERVLET code.  Hi Friend, Please visit the following links: http://www.roseindia.net
java - JSP-Servlet
java  why is required to write both jsp and servlet in a application of java
JAVA - JSP-Servlet
Java servlets sessions session tracking  How to track the session in Servlet
java servlet programming - JSP-Servlet
java servlet programming  when i m inserting an image file into the sql table in a column of data type binary using prepared statement ps.setBinaryStream, instead of filename it's displaying
Java Servlet - Servlet Interview Questions
Java Servlet  My Servlet Program is generating Compile time errors. 1)pakage javax.Servlte.Http.* does not exists. and Pakage javax.Servlte does... be that you have not set the classpath of your java-servlet-api.jar in the environment
JSP with java/servlet - JSP-Servlet
(java bean or servlet) to fecth the database. Jsp would get the data from...JSP with java/servlet  Thanks Deepak for your answere to my previous.../servlet-jsp-data-list.shtml Hope that it will be helpful for you. Thanks
java servlet code - Servlet Interview Questions
java servlet code  iam doing a project in java, preparation of on line examination in that how to prepare a question paper using servlet code
Java script in servlet
Java script in servlet  Hi. How to use javascript inside java servlet? Thanks in advance
Java Servlet
Java Servlet  how to create the login form using servlets and how to validate the username and password?   Please visit the following link: http://www.roseindia.net/jsp/loginbean.shtml
java,servlet,jsp - JSP-Servlet
java,servlet,jsp   i am doing a project on online examination system and in that there are problems that-- 1.i want to disable the back,forward and refresh button.Please give me the code for google crome browser. 2.suppose
Java servlet - Java Beginners
Java servlet  Hello sir, Please send simple Java servlet coding...:\\ folder.Put servlet-api.jar in in the lib folder of your apche-tomcat.Then go...:\apache-tomcat-6.0.16; 2) Classpath=C:\apache-tomcat-6.0.16\lib\servlet-api.jar
java - JSP-Servlet
Java Servlet Config means   What is Servlet Config means ?  ...://www.roseindia.net/servlets/ServletContext.shtml  Servlet Config means configurion of servlet it is used to cofigure any properties in web.xml and Context
Java servlet - Java Beginners
Java servlet  Thank you for your kind reply. please send Servlet with JDBC connection code  Hi Friend, We are providing you a code that will connect the servlet to database and insert the data. import
java servlet help neeed....
java servlet help neeed....  i have little bit miss concept on servlet and jsp....what ever i know always the jsp provoke first then servlet ...like... the servlet will be called (mapping i have to make in web.xml)......but to some one told
Advertisements
 

 

 

DMCA.com