GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Configuring JSP in web

SITI SHAHIRAH MISRAN Englisch

Inhalt der Mindmap

Configuring JSP in web

  1. An app can use JavaServer Pages (JSPs) to implement web pages. JSPs are servlets defined using static content (such as HTML) mixed with Java code.

  2. App Engine supports automatic compilation and URL mapping for JSPs. A JSP file in the application's WAR (outside of WEB-INF/) whose filename ends in .jsp is compiled into a servlet class automatically, and mapped to the URL path equivalent to the path to the JSP file from the WAR root. For example, if an app has a JSP file named start.jsp in a subdirectory named register/ in its WAR, App Engine compiles it and maps it to the URL path /register/start.jsp.

  3. Configuring JSP Tag Libraries

    • Weblogic Server, in accordance with the Servlet 2.2 specification provides the ability to create and use custom JSP tags.
    • Custom JSP tags are Java classes that can be called from within a JSP page.
    • To create custom JSP tags, you place them in a tag library and define their behavior in a tag library descriptor (TLD) file.
    • You can install JSP tag libraries with the <taglib> element.
    • Note that App Engine provides the JavaServer Pages Standard Tag Library(JSTL), and you do not need to install it.
    • A tag library has a path to the JSP Tag Library Descriptor (TLD) file (<taglib-location>) and a URI that JSPs use to select the library for loading (<taglib-uri>). This URI pattern must match the value in the taglib directive in your JSP pages.
    • This TLD must be made available to the Web Application containing the JSP by defining it in the Web Application deployment descriptor
    • It is a good idea to place the TLD file in the WEB-INF directory of your Web Application, because that directory is never available publicly.

Informationen

Beschreibung
Mindmap am Configuring JSP in web, erstellt von SITI SHAHIRAH MISRAN am 25/02/2019.
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck