Bom dia amigos…
Tenho uma grande dúvida
Estou criando uma página com JSF mas não sei sei estou sendo redundante com meu código.
o que ocorre é que eu tenho por exemplo a seguinte página:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>SERVLET</title>
<script type="text/javascript" src="javascript/tarefas1.js"></script>
</head>
<body>
<f:view>
<form action="SERVLET" method="get" name="form">
</form>
</f:view>
</body>
</html>
minha dúvida é se as tags <f:view> e </f:view> estão corretamente posicionadas depois da tag e a segunda dúvida é como eu devo definir
as tags <h:form> e </h:form> já que já tenho as tags e do html.
se eu definir as duas existe alguma possibilidade de conflito?
Muito obrigado…