Difference between revisions of "Servlet"

From BC$ MobileTV Wiki
Jump to: navigation, search
Line 90: Line 90:
 
* Retrieving ALL Parameters to a Java Servlet: https://dzone.com/articles/retrieving-all-parameters-java
 
* Retrieving ALL Parameters to a Java Servlet: https://dzone.com/articles/retrieving-all-parameters-java
 
* Example of processing all URL params via getParameterMap() method of Servlet Request Object: https://www.java4s.com/java-servlet-tutorials/example-on-getparametermap-method-of-servlet-request-object/
 
* Example of processing all URL params via getParameterMap() method of Servlet Request Object: https://www.java4s.com/java-servlet-tutorials/example-on-getparametermap-method-of-servlet-request-object/
 +
* '''Calling a Servlet from a Java application: https://stackoverflow.com/questions/4349854/calling-a-servlet-from-a-java-application'''
 +
<ref>Invoking a servlet from a Java class: https://stackoverflow.com/questions/11335227/invoking-a-servlet-from-a-java-class</ref>
  
 
* Story of a Servlet - An Instant Tutorial: http://java.sun.com/products/servlet/articles/tutorial/
 
* Story of a Servlet - An Instant Tutorial: http://java.sun.com/products/servlet/articles/tutorial/

Revision as of 16:09, 12 August 2022

Java (cup of java) Logo
Java Servlet icon

Servlet is JAVA technology from Sun Microsystems for providing dynamic web applications, web pages, form/input collection and a number of other services.[1] A Servlet consists of a web.xml deployment descriptor, optional context.xml configuration file, and optional meta.xml metadata file. As of Java7, a Servlet can also be marked up via annotations using the @ predicates (@WebServlet,@WebListener,@WebFilter, etc).



Specification


Methods


init

doGet


doPost


doPut


doDelete


destroy




Tools


Resources


Tutorials

[5]



External Links


References

  1. Sun's JAVA Servlet official page: http://java.sun.com/products/servlet/
  2. Oracle - Servlet 3.0 spec: http://download.oracle.com/otndocs/jcp/servlet-3.0-fr-oth-JSpec/
  3. Servlet 3.0: A Sneak Preview: http://www.devx.com/print/Java/Article/43256
  4. An Overview of Servlet 3.0: http://java.dzone.com/articles/an-overview-servlet-30
  5. Invoking a servlet from a Java class: https://stackoverflow.com/questions/11335227/invoking-a-servlet-from-a-java-class
  6. How Tomcat handles session internally?: https://stackoverflow.com/questions/17834144/how-tomcat-handles-session-internally

See Also

Tomcat | Java | JSP | Applet