gnopaste

Name
Core
Scriptlanguage
Java
Tabwidth
4
Date
08/26/2008 10:20:38 pm
IP
85.0.242.58

hello jsf

  1. <%@ page language="java" %>
  2. <%@ taglib uri="/WEB-INF/tld/html_basic.tld" prefix="h" %>
  3. <%@ taglib uri="/WEB-INF/tld/jsf_core.tld" prefix="f" %>
  4.  
  5. <%
  6. String path = request.getContextPath();
  7. String basePath = request.getScheme()+"://"+request.getServerName()
  8. +":" +request.getServerPort()+path+"/";
  9. %>
  10.  
  11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  12. <html>
  13. <head>
  14. <title>Hello world</title>
  15. </head>
  16.  
  17. <body>
  18. <f:view>
  19. <h:outputLabel value="#(helloWorld.greeting)"></h:outputLabel>
  20. </f:view>
  21. </body>
  22. </html>
submitter » gnopaster | imprint « imprint     
» Terms of use «
» digital bit dot ch - t4c's new home «