Pessoas, seguinte:
To tentando implementar um código que o Prof passou sobre Formatação de datas. Mas tah dando erro...
o código é:
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<fmt : setTimeZone value = "GMT - 3:00" var = " TZ" scope = "page"/>
<%@taglib uri = "http://java.sun.com/jstl/fmt" prefix = "fmt"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset= ">
<title>Exercicio (0,5 pts)</title>
</head>
<body>
<h1>Formatação ou Internacionalização</h1>
<jsp: useBean id = "hoje" class = "java.util.Date" />
<fmt: timeZone value="GMT-7:00">
<fmt: formate Date value = "${hoje} type = "both" dateStyle = "full" timeStyle = "full"/>
</fmt: timeZone>
</br>
<fmt : timeZone value = "GMT +0:00" var ="timeZone" scope="page"/>
<fmt: timeZone value="${timeZone}">
<fmt: formate Date value = "${now} type = "both" dateStyle = "full" timeStyle = "full"/>
</fmt:format: timeZone>
</body>
</html>
o erro é :
/jsp.index[14;13] Invalid Standard Actiona parte que apresenta o erro é:
<jsp: useBean id = "hoje" class = "java.util.Date" />
the absolute uri [..] cannot be resolved in either web.xml or the jar fil...não marca nada, mas acredito que seja referente à parte :
<%@taglib uri = "http://java.sun.com/jstl/fmt" prefix = "fmt"%>
<%@taglib uri = "http://java.sun.com/jstl/fmt" prefix = "fmt"%>
To precisando pakas de ajuda, pq num sei nada de jsp... qualquer ajuda é válida! Brigadaum
