http://www.javaserverfaces.org/
http://ja.wikipedia.org/wiki/JavaServer_Faces
大量のリンクがありますが、英語がほとんどで、あとはドイツ語とか。。。
http://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html
チュートリアルがあります。(英語)
http://dream.mods.jp/first_jsf/
Struts | アプリケーション向きフレームワーク |
JSF | ユーザインタフェース向きフレームワーク |
http://www.igapyon.jp/blanco/blancodownload.html#blancoJsf
本家
http://struts.apache.org/1.x/struts-faces/
http://struts.apache.org/download.cgi
http://struts.apache.org/1.x/userGuide/index.html
http://d.hatena.ne.jp/ryoasai/20101014/1287063322
下記のURLでサンプルが紹介されている http://struts.apache.org/1.x/struts-apps/index.html
Struts の古典的なメールリーダのrenditionでJSFが使えるようになっている。
さらにTilesも使っているのが、Example2である。
開発時にキャッシュに残っていると、原因の特定を妨げるケースが多々ある 下記のようにキャッシュをためないように実装する必要がある。 ただし、開発時のみ
<% response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-cache"); response.addHeader("Cache-Control","no-store"); response.setDateHeader("Expires",0); %>
%@ page language="java" contentType="text/xml; charset=UTF-8" %>
%@ page language="java" contentType="application/xml; charset=UTF-8" %>
?xml version="1.0" encoding="UTF-8"?>
http://www.gesource.jp/programming/javascript/20060501.html
http://www.gesource.jp/programming/javascript/20060507.html
http://allabout.co.jp/gm/gc/24214/
サンプルを見ると中身はXMLで記述された定義ファイルである。このファイルをJSPが呼んでいて、このファイルから、Classが呼ばれている。という仕組みらしい。
<tag> <description>Outputs Hello, World</description> <name>helloWorld</name> <tag-class>jsp2.examples.simpletag.HelloWorldSimpleTag</tag-class> <body-content>empty</body-content> </tag>
public class HelloWorldSimpleTag extends SimpleTagSupport { public void doTag() throws JspException, IOException { getJspContext().getOut().write( "Hello, world!" ); } }
<%@ taglib prefix="mytag" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>
<mytag:helloWorld/>
http://www.jajakarta.org/struts/struts1.1/documentation/ja/target/resources/projects.html
http://www.ne.jp/asahi/hishidama/home/tech/struts/logic_iterate.html#h_link