Boa noite!
Estou iniciando o desenvolvimento para web, e estava fazendo um exercício de aula.
Dentro do meu JSP tenho o seguinte código:
<?xml version='1.0' encoding='UTF-8' ?>
<!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"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>Facelet Title</title>
</h:head>
<h:body>
<h:form>
<h:outputText value="Cadastro de Usuários" style="font-weight: bolder; font-size: xx-large; color: red;"/> <br/> <br/>
<h:outputText value="Nome: "/> <h:inputText id="nome" size="90"/> <br/>
<h:outputText value="Usuário: "/> <h:inputText id="user" size="50"/> <br/>
<h:outputText value="Senha: "/> <h:inputSecret id="senha" size="30"/> <br/>
<h:outputText value="E-Mail: "/> <h:inputText id="mail" size="50" /> <br/>
<h:commandButton value="Criar" action=#{usuario.acao} />
</h:form>
</h:body>
</html>
E para mim, é apresentada uma mensagem de erro do NETBEANS na linha 15 conforme abaixo:
[color=blue][color=red]Fatal Error: Open quote is expected for attribute "{1}" associated with an element type "action".
From line 15, column 13; to line 15, column 55
O futuro processamento do arquivo pode ser significativamente afetado por este erro fatal. Corrija o problema antes de continuar editando este arquivo!
----
(Alt-Enter mostra dicas)[/color]
Alguem sabe o que estou fazendo errado?