tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: "The requested resource () is not available." index.html
Date Tue, 15 Jun 2010 17:40:45 GMT
On 15/06/2010 18:28, faciolo wrote:
> 
> 
> 
>>
>> Where have you deployed "myApp"?
>>
>> What configuration have you changed?
>>
>> What is in your app's web.xml file?
>>
>>
>> p
>>
>>
> 
> 
> my application is named MediciRiuniti
> it is in C:\Tomcat 6.0\webapps\ROOT\
> if i search for localhosot:8081/ i can get tomcat home

Don't put it inside ROOT.

Put it in webapps.


p

> i've changed only the port of tomcat, i set it on 8081
> 
> 
> in my C:\Tomcat 6.0\webapps\ROOT\MediciRiuniti\WEB-INF\web.xml is written
> this:
> 
> <?xml version="1.0" encoding="UTF-8" ?>  
> <web-app 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"
>     version="2.4">
> 
>     <display-name>MediciRiuniti Application</display-name>
>     <description>Applicazione</description>
> 
>     <servlet>
>         <servlet-name>EventController</servlet-name>
>         <servlet-class>mediciRiuniti.web.EventController</servlet-class>
>     </servlet>
> 
>     <servlet-mapping>
>         <servlet-name>EventController</servlet-name>
>         <url-pattern>/controller</url-pattern>
>     </servlet-mapping>
>     
>     <welcome-file-list>
>         <welcome-file>index.html</welcome-file> 
>     </welcome-file-list>
> 
> </web-app>
> 
> 
> if i build my project i can see the compiled class in WEB-INF/src/classes
> 
> thank you
> 
> --
> 
> faciolo
> 



Mime
View raw message