Eclipse Warning....Invalid location of tag (input)

2 respostas
P

e porque esse warning na linha

<input type=submit value='Incluir' name="btIncluir">
Invalid location of tag (input).

[code]
<%@page import= "java.util.ArrayList" %>
<%@page import= "br.com.paulo.prova.model.Cliente" %>
<%@page import= "javax.servlet.http.*,java.util.Iterator" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!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=biso-8859-1">

<title>Inclusão</title>
</head>
<body>
<h1>Inclusão</h1>
<form name="form" method="post" action="controller?acao=SalvaInclui">
<table border =1>



<tr>
<td> Nome:</td>
<td> <input type=text name="nomecliente" value=""></td>
</tr>

<tr>
<td> DtInicial:</td>
<td> <input type=text name="di" value=""></td>
</tr>

<tr>
<td> DtFinal:</td>
<td> <input type=text name="df" value=""></td>
</tr>



<tr>
<input type=submit value='Incluir' name="btIncluir">
</tr>
</table>
</form>
</body>
</html>

2 Respostas

L

experimente colocar sua tag “input” dentro de uma <td></td>

assim lá embaixo:

&lt;tr&gt; &lt;td&gt; &lt;input type=submit value='Incluir' name="btIncluir"&gt; &lt;/td&gt; &lt;/tr&gt;

OK? :smiley:

P

valeu …obrigado

Criado 18 de setembro de 2008
Ultima resposta 18 de set. de 2008
Respostas 2
Participantes 2