I want to create a struts app which displays index.jsp file which contains link to the search.jsp file.Directory structure of Struts 1.2 app is as below
Struts 1.2 Directory Listing
The content of web.xml is as below
<display-name>MiniHR</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri>http://struts.apache.org/tags-html</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location>
</taglib>
</jsp-config>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
</web-app>
The contents of struts-config.xml is as below
<global-forwards>
<forward name="search" path="/search.jsp"></forward>
</global-forwards>
The content of index.jsp is as below
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<body>
Add Employee<html:link forward="search">Search Employees</html:link>
</body>
Now when i run this app on eclipse its displaying HTTP Status 500 - as below
I tried few solutions but nothing seems to fix the problem.A Little Help would be appreciated.
I have added the war file in following URL
http://www.fileconvoy.com/dfl.php?id=g6daddfa41e8981249992832312c465146f9b6bc45
Thank you