•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 429,749 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,990 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 487 | Replies: 1 | Solved
![]() |
•
•
Join Date: Aug 2007
Posts: 179
Reputation:
Rep Power: 0
Solved Threads: 0
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?
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>![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- struts tutorials (Java)
- Is this standard JSP behavior? (JSP)
- how to show java out puts in web browser (JSP)
- Go to a certain page when button is pressed and do it securely (ASP.NET)
- <jsp:include> Not Printing On Web Page, But In Source Code (JSP)
- Is there anything on my Pc that is potentially dangerous (Viruses, Spyware and other Nasties)
- Unable to read a site with JSP coding (JSP)
- Trojan.Spambot is owning my computer!!! (Viruses, Spyware and other Nasties)
- Forwarding Hotmail with attachments (Windows NT / 2000 / XP / 2003)
- WEIRD! php pages do not load unless i hit refresh (PHP)
Other Threads in the JSP Forum
- Previous Thread: How to logout!!!
- Next Thread: Retreiving gmail username and password via jsp


Linear Mode