Você está na página 1de 3

Hello World – para WebSphere Application

Server
helloworld.jsp

<html>
<head>
//Exibe a hora da execução
<jsp:useBean id="datetime"
class="java.util.Date" />

<title>dw Getting Started with
Geronimo</title>
</head>
<body>
<h1>Hello world !</h1>
on ${datetime}

</body>
</html>

com/xml/ns/j2ee/web- app_2_4.Hello JSP example </display-name> </web-app> .0" encoding="ISO-8859- 1"?> <web-app xmlns="http://java.Web.sun.xml <?xml version="1.com/xml /ns/j2ee http://java.sun.4"> <description> Primeiro exemplo .Hello JSP example </description> <display-name> Primeiro exemplo .sun.com/xml/ns/j2ee" xmlns:xsi="http://www. 2.w3.xsd" version="2.org/2001/XMLSch ema-instance" xsi:schemaLocation="http://java.

jar --user system --password manager deploy hellojsp.jar bin/deployer.war 3.java .jar cvf hellojsp. 3.war 2.No DOS digitar 1.Deployed hellojsp .