Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to deploy the file in Tomcat

 
Geeta Ravikanti
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic