I created a nbproject,webapplication,visual web java Server Faces
Glashfish,deployed it.(netbeans6.1)
I have written a couple of them and they do not show up in a browser.
Below is the one I just started.
Can someone explain what needs to be done to run this in a browser?

<%-- 
    Document   : greeting
    Created on : May 20, 2008, 11:32:11 PM
    Author     : depot
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <f:view>
            <h2> Hi my name is Duke.  I'm thinking of a number from
                <h:outputText lang="en_US" value="#{UserNumberBean.minimum}"/> to 
                <h:outputText value="#{UserNumberBean.maximum}"/>.
                Can you guess it?
            </h2>
        </f:view>
    </body>
</html>

I figured it out ty anyway.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.