Pessoal,
Estou tentando fazer uma aplicação direto no Eclipse.
Fui em Project -> Web -> Dynamic Web Project.
Ele cria toda a estrutura de diretorios. Inclusive o arquivo web.xml. Bom, o problema é que nem com resa o jsp aparece, pois criei apenas um arquivo index.jsp para exemplo:
Arquivo web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>TESTESJSP</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
Meu TomCat já esta configurado.
Quando vou com o botão direito Run As -> Run on Server
O TomCat da a mensagem de erro:
HTTP Status 404 - /TESTESJSP/
type Status report
message /TESTESJSP/
description The requested resource (/TESTESJSP/) is not available.
Apache Tomcat/6.0.20
O que poderia ser ?
PS: Nunca trabalhei com JavaWEb