Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/12/2011, 10:45
annaserra
 
Fecha de Ingreso: noviembre-2011
Mensajes: 11
Antigüedad: 12 años, 6 meses
Puntos: 0
Respuesta: Estado HTTP 404

Hola! Gracias por responder :)

- En el navegador pongo: http://localhost:8082/FCOC_RegistreMapes/
- En mi web.xml pone:

Código:
<?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>
	FCOC_RegistreMapes</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>
¿Como? ¿No se puede poner un main en un proyecto con Tomcat? Me podriais explicar esto, por favor.
¿Entonces como debería hacerlo para accedes a la clase?

Muchas gracias por ayudarme!
Anna