JSP: Define the string in tag (I18N) : I18N « JSP « Java






JSP: Define the string in tag (I18N)

/*
Beginning JavaServer Pages
Vivek Chopra, Jon Eaves, Rupert Jones, Sing Li, John T. Bell
ISBN: 0-7645-7485-X

*/

<%@ taglib prefix="wroxtags" tagdir="/WEB-INF/tags" %>
<html>
  <head>
    <title>Book Information</title>
  </head>
  <body>
    <h1>Book Information</h1>
    <hr>
    <p>The name of this book is <i><wroxtags:bookTitle/></i>.</p>
    <p>It is published by <wroxtags:publisher/>.</p>
    <p>The server used in all the examples is <wroxtags:containerName/>.</p>
    </body>
</html>


           
       








BeginningJavaServerPages-ch01.zip( 1 k)

Related examples in the same category

1.Locale info
2.Locale Display in a JSP
3.Current Locale
4.JSP Internationalization and Localized Content 1JSP Internationalization and Localized Content 1
5.JSP Internationalization and Localized Content 2JSP Internationalization and Localized Content 2
6.JSP Internationalization and Localized Content:Currency Formatting and locales
7.JSP Internationalization and Localized Content: Date Formatting and locale
8.Internationalized Web Applications: JavaServer Pages