<%
@ page language
=
"
java
"
import
=
"
java.util.*
"
pageEncoding
=
"
UTF-8
"
%>
<%
@ taglib prefix
=
"
c
"
uri
=
"
/WEB-INF/c.tld
"
%>
<%
@ taglib prefix
=
"
fmt
"
uri
=
"
/WEB-INF/fmt.tld
"
%>
<%
@ taglib prefix
=
"
x
"
uri
=
"
/WEB-INF/x.tld
"
%>
<%
@ taglib prefix
=
"
sql
"
uri
=
"
/WEB-INF/sql.tld
"
%>
<
fmt:setBundle
basename
="rs"
var
="rs"
/>
<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>
<
html
>
<
head
>
<
title
>
My JSP 'inxex.jsp' starting page
</
title
>
</
head
>
<
body
>
This is my JSP page.
<
br
>
<
fmt:message
key
="hello"
bundle
="${rs}"
>
<
fmt:param
value
="hermit"
/>
</
fmt:message
>
</
body
>
</
html
>
rs.properties:
hello=hello {0}\!
rs_zh_CN.properties
hello=\u4F60\u597D {0}\!
posted on 2007-05-10 10:52
交口称赞 阅读(1487)
评论(1) 编辑 收藏 所属分类:
jstl