Example (Continued)

JSP Expressions

  • Current time:
  • <%= new java.util.Date() %>
  • Your hostname:
  • <%= request.getRemoteHost() %>
  • Your session ID:
  • <%= session.getId() %>
  • The testParam form parameter:
  • <%= request.getParameter("testParam") %>
    9
    JSP
    www.corewebprogramming.com
    Example Result
    With default setup, if location was
    C:\jakarta tomcat\webapps\ROOT\Expressions.jsp
    C:\Program Files\Allaire\JRun\servers\default\
    default app\Expressions.jsp 
    URL would be
    http://localhost/Expressions.jsp
    10
    JSP
    www.corewebprogramming.com
    5
    
    
    
    
      

    Home

    About Services Network Support FAQ Order Contact
     

    Java Web Hosting

    Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

    Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved