fiz uma aplicação onde digito meu nome e tem que aparecer em outra pagina.A aplicaçao sempre me mostra isso.
HTTP Status 404 - /AppWebSaudacao/saudacao.jsp
--------------------------------------------------------------------------------
type Status report
message /AppWebSaudacao/saudacao.jsp
description The requested resource (/AppWebSaudacao/saudacao.jsp) is not available.
--------------------------------------------------------------------------------
index.jsp<%@ 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=ISO-8859-1">
<title>DAWJ AppWebSaudacao</title>
</head>
<body>
<h1>DAWJ AppWebSaudacao</h1>
<p>Informe seu nome e sobrenome e, em seguida clique em
<b>Enviar</b></p>
<form action="saudacao.jsp" "method=post">
<table>
<tr>
<td>Nome</td>
<td><input type ="text" name="nome"></td>
</tr>
<tr>
<td>Sobrenome</td>
<td><input type ="text" name="sobrenome"></td>
</tr>
<tr>
<td cosplan ="2"><input type="submit"value="Enviar"></td>
</tr>
</table>
</form>
</body>
</html>[code]
saudacao.jsp
[code]<%@ 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=ISO-8859-1">
<title>DAWJ AppWebSaudacao</title>
</head>
<body>
<%
String nome=request.getParameter("nome");
String sobrenome=request.getParameter("sobrenome");
String nomecompleto= nome + " "+ sobrenome;
%>
<h1>DAWJ WebAppSaudacao</h1>
Olá;,<%=nomecompleto %>!
<form action="index.jsp"method="get">
<input type="submit" value="Voltar">
</form>
</body>
</html>