Foros del Web » Programación para mayores de 30 ;) » Java »

Como abrir un .war

Estas en el tema de Como abrir un .war en el foro de Java en Foros del Web. Pues resulta que me han pasado una aplicacion web en .war que se supone que lo han hecho con eclipse. Hace tiempo que no toco ...
  #1 (permalink)  
Antiguo 14/05/2009, 00:43
xoi
 
Fecha de Ingreso: noviembre-2006
Mensajes: 27
Antigüedad: 17 años, 5 meses
Puntos: 0
Como abrir un .war

Pues resulta que me han pasado una aplicacion web en .war que se supone que lo han hecho con eclipse.
Hace tiempo que no toco el eclipse, me gustaria saber como puedo abrir el fichero para modificar alguna cosa en el proyecto.

Muchas gracias.
  #2 (permalink)  
Antiguo 14/05/2009, 01:08
xoi
 
Fecha de Ingreso: noviembre-2006
Mensajes: 27
Antigüedad: 17 años, 5 meses
Puntos: 0
Respuesta: Como abrir un .war

To import the Web project resources in a WAR file into your workspace, complete the following steps:


1. Select File > Import.
2. In the Import dialog, select WAR file and then click Next.
3. Locate the WAR file that you want to import using the Browse button.
4. The wizard assumes you want to create a new Web project with the same name as the WAR file. If you accept this choice, the project will be created with the same servlet version as specified by the WAR file and in the same location. If you want to override these settings, you can click New and specify your new settings in the Dynamic Web Project wizard.

If you want to import the WAR file into an existing Web project, you can select the project from the Web project drop-down list. Note that if you select an existing project, you must decide whether you want to select the setting to overwrite existing resources without warning
5. Click Finish to populate the Web project.
  #3 (permalink)  
Antiguo 14/05/2009, 01:08
xoi
 
Fecha de Ingreso: noviembre-2006
Mensajes: 27
Antigüedad: 17 años, 5 meses
Puntos: 0
Respuesta: Como abrir un .war

To import the Web project resources in a WAR file into your workspace, complete the following steps:
0. Creamos un projecto vacio.
1. Select File > Import.
2. In the Import dialog, select WAR file and then click Next.
3. Locate the WAR file that you want to import using the Browse button.
4. The wizard assumes you want to create a new Web project with the same name as the WAR file. If you accept this choice, the project will be created with the same servlet version as specified by the WAR file and in the same location. If you want to override these settings, you can click New and specify your new settings in the Dynamic Web Project wizard.

If you want to import the WAR file into an existing Web project, you can select the project from the Web project drop-down list. Note that if you select an existing project, you must decide whether you want to select the setting to overwrite existing resources without warning
5. Click Finish to populate the Web project.
  #4 (permalink)  
Antiguo 14/05/2009, 08:58
Avatar de goncafa  
Fecha de Ingreso: julio-2002
Ubicación: Santiago
Mensajes: 1.211
Antigüedad: 21 años, 10 meses
Puntos: 10
Respuesta: Como abrir un .war

Pues puedes abrir un WAR con el Winrar sin ningun problema.

Puedes sacar cosas o poner cosas en el.

Saludos
__________________
se despide hasta la proxima
Gonzalo Castillo
  #5 (permalink)  
Antiguo 14/05/2009, 11:05
xoi
 
Fecha de Ingreso: noviembre-2006
Mensajes: 27
Antigüedad: 17 años, 5 meses
Puntos: 0
Respuesta: Como abrir un .war

lo sé, mas que nada es para abrirlo y ejecutarlo, lo que pasa que es un poco complicado cuando no has echo tu el codigo y no sabes si necesita de algun servicio para ejecturarse
  #6 (permalink)  
Antiguo 14/05/2009, 12:53
Avatar de goncafa  
Fecha de Ingreso: julio-2002
Ubicación: Santiago
Mensajes: 1.211
Antigüedad: 21 años, 10 meses
Puntos: 10
Respuesta: Como abrir un .war

Descomprime todo el contenido del WAR en un directorio web de tu servidor y listo, lo podras ejecutar.
__________________
se despide hasta la proxima
Gonzalo Castillo
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:37.