Struts 2 Hello World Example Issue,
September 10, 2007 at 12:17 PM
Dear All,
The only missing link in successful execution of this application is that you need to modify the index.html, which is not mentioned in the steps. Change the index.html file, and it works. Here is the file:
****** index.html... ****** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>RoseIndia.Net Struts 2 Tutorial</title> </head>
<body> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="400"> <tr> <td><font color="#000080" size="5"><b>RoseIndia.net Struts 2 Tutorials</b><br> </font></td> </tr> <tr> <td><font color="#000080"><b>Select the following links to test the examples</b></font></td> </tr> <tr> <td> <ul> <li><a href="roseindia/HelloWorld.action">Run Struts 2 Hello World Application</a></li> </ul> </td> </tr> <tr> <td><font color="#000080"> <br> <br> <br> Visit <a href="http://www.roseindia.net">http://www.roseindia.net</a> for latest tutorials</font></td> </tr> </table> </center> </div> <p align="center"> </p> </body> </html> ********** I hope this would resolve all the Issues. Thanks..