aspose file tools*
The moose likes Struts and the fly likes Unable to deploy the file in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to deploy the file in Tomcat" Watch "Unable to deploy the file in Tomcat" New topic
Author

Unable to deploy the file in Tomcat

Geeta Ravikanti
Ranch Hand

Joined: Mar 26, 2008
Posts: 46
Hi All,
I am doing the project which is realted to Struts,
But when ever i am executing that related folder i am getting the error the requested resource is not available
my folder location is
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Finance

Or is there any problem in web.xml
is it any problem with xml tags in web.xml

web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee">
<filter>
<filter-name>struts</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>

<filter-mapping>
<filter-name>struts</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>


Can any one tell me where did i mistaked

Regards&Thanks
Geeta
Subhash Bhushan C
Ranch Hand

Joined: Jan 27, 2005
Posts: 106
Can you please paste the structure of Finance folder inside webapps?

1. What is the URL you are typing to access the application?
2. Do you have a file called index.jsp inside Finance folder?
3. What is the message that you get when you type http://localhost:8080?


Regards,<br />Subhash Bhushan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to deploy the file in Tomcat