タグ

Tomcatに関するnaga_sawaのブックマーク (2)

  • Apache Tomcat 6.0 (6.0.53) - Class Loader HOW-TO

    Like many server applications, Tomcat installs a variety of class loaders (that is, classes that implement java.lang.ClassLoader) to allow different portions of the container, and the web applications running on the container, to have access to different repositories of available classes and resources. This mechanism is used to provide the functionality defined in the Servlet Specification, versio

    naga_sawa
    naga_sawa 2011/03/01
    Tomcat6のクラスローダー階層
  • Tomcat各種Tips

    Tomcat(5.5対応)についての各種Tipsです。 新しく書いたものが上になるように並べてあります。 JSP2.0 での <jsp:param> について JSP2.0(Tomcat5以降) では、EL式というものが使えます。 例えば、今まで <%= request.getAttribute("userName") %> と記述していたものが、EL式を使うと ${userName} こんなに簡単になります。 これはリクエスト属性だけでなくセッション属性(さらにはアプリケーション属性)もサポートしているので 今までのように「この属性ってリクエストだったかなぁ、セッションだったかなぁ」と悩む必要がありません。 ただし、リクエストパラメータを使うには多少手を加える必要があります。 <%= request.getParameter("userName") %> これは、以下のように記述します。

  • 1