Site Overlay


J2EE, J2SE, JavaMail, Java Naming and Directory Interface, EJB, and JSP are trademarks or registered trademarks of Sun Microsystems, Inc. UNIX® is a. Run from a Web server with J2EE installed The Java Servlet Alias file type, file format description, and Mac and Windows programs listed on this page have. J2EE is a platform-independent, Java-centric environment from Sun/Oracle for developing, building and deploying Web-based enterprise applications online.

Author: Samusar Tojarisar
Country: Australia
Language: English (Spanish)
Genre: Life
Published (Last): 7 October 2012
Pages: 70
PDF File Size: 16.93 Mb
ePub File Size: 17.77 Mb
ISBN: 457-2-29309-694-3
Downloads: 67719
Price: Free* [*Free Regsitration Required]
Uploader: JoJotaxe

WAR (file format) – Wikipedia

The service-qname element declares the specific WSDL service element that is being refered to. Each change to source code must be repackaged and deployed in development.

When the element is present, the given path will be automatically included as in an include directive at the end of each JSP page in this jsp-property-group.

The form-error-page element defines the location in the web app where the error page that is displayed when login is not successful can be found.

This group keeps the usage of the contained description related elements consistent across J2EE deployment descriptors. This type defines a dewey decimal which is used to describe versions of documents.

In this way, developers can be certain that the WAR file tested and verified is exactly the same as that which is being promoted to production. You use this method if you know the particular parameter name. The following are the legal values of env-entry-type-valuesType: The logical destination described by this element is mapped to a physical destination by the Deployer.

JavaServer Pages – Wikipedia

It is a translation-time error to name different encodings in the pageEncoding attribute of the page directive of a JSP page and in a JSP configuration element matching the page. The port-component-link element links a port-component-ref to a specific port-component required to be made available by a service reference. The param-value element contains the value of a parameter.


Deployment Component may indicate one of the following: Wikimedia Commons has media related to JavaServer Pages. The web-resource-name contains the name of this web resource collection.

WAR (file format)

In other projects Wikimedia Commons. The error-pageType contains a mapping between an error code or exception type to the path of a resource in the web application. The servlet-class element contains the fully qualified class name of the servlet. An external properties file would define the link filwtype some thing like:. Filletype declaration consists of: This section tells you how to write these routines that perform actions such as retrieve HTML form parameters, request headers, servlet initialization parameters, and redirects.

The auth-constraintType indicates the user roles that should be permitted access to this resource collection. The form-login-configType specifies the login and error pages that should be used in form based login. Be careful; don’t confuse this with session-wide attributes.

Element Group Summary j2ee: Tools that need the canonical name the name used in source code will need to convert this binary name to the canonical name. The ejb-ref-type designates a value that must be one of the following: Note that the sub-elements of this element can be in the arbitrary order. Diletype is not specified if no wsdl-file is declared.

The ServletContext object is how you can set, get, and change application not session level attributes and talk to the Servlet Container. It is also a translation-time error to name different encodings in the prolog or text filehype of a document in XML syntax and in a JSP configuration element matching the document.

The resource-env-ref-name element specifies the name of a resource environment reference; its value is the environment entry name used in the web application code.

When the element is present, the given path will be automatically included as in an include directive at the beginning of each JSP page in this jsp-property-group. The declaration consists of an optional description, the name of the environment entry, and an optional value. The listenerType indicates the deployment properties for a web application listener bean.


The local-homeType defines the fully-qualified name of an enterprise bean’s local home interface. First, you get the servlet’s output stream with:.

The web-app element is the root of the deployment descriptor for a web application. This name must be unique among the names of message destinations within the Deployment File. The getInitParameter method returns a string containing the value of the parameter you provide the nameor null if the parameter does not exist. A scriptlet is a fragment of Java code that is run tiletype the user requests the page.

As a prerequisite to gaining access to any web resources which are protected by an authorization constraint, a user must have authenticated using the configured mechanism.

To deploy and run JavaServer Pages, a compatible web server with a servlet containersuch as Apache Tomcat or Jettyis required. The keyref indicates the references from security-role-ref to a specified role-name.

The ejb-linkType is used by ejb-link elements in the ejb-ref or ejb-local-ref elements to specify that an EJB reference is linked to enterprise bean. A WAR file may be digitally signed in the same way as a JAR file in order to allow others to determine where the source code came from. You will get the first value in the array returned by getParameterValues. It isn’t text so you have to write the file to the servlet’s output stream.

The service-ref element declares a reference to a Web viletype. This is the form of name used in Class. You can get application-level initialization parameters. The output k2ee this listing looks like Figure 4.