mukeshvishwas
Programmer
Hi,
I am new in j2ee. I have gone through a j2ee book. There is a web application named "Soccer" in which a file name "list_league.view" is given at "/" directory. So my question is how can i create these extension type file.
Content of Web.xml file:
<servlet>
<servlet-name>ListLeague</servlet-name>
<servlet-class>s1314.view.ListLeagueServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ListLeague</servlet-name>
<servlet-class>list_league.view</servlet-class>
</servlet-mapping>
[highlight #AD7FA8]Content of Index.html file:[/highlight]
<body>
<table border='1' cellpadding='5' cellspacing='0' width='400' >
<tr bgcolor='#CCCCFF' align='center' valign='center'>
<td><h3>Duke's Soccer League: Home</h3></td>
</tr>
</table>
<p>This is the Home Page for Duke's Soccer League.</p>
<h3>Player</h3>
<ul><li><a href="list_league.view">List all league</a></li>
<li>Register for a league(TBA)</li>
</ul>
<h3>League Administrator</h3>
<ul><li><a>Add a new league</a></li></ul>
</body>
I am new in j2ee. I have gone through a j2ee book. There is a web application named "Soccer" in which a file name "list_league.view" is given at "/" directory. So my question is how can i create these extension type file.
Content of Web.xml file:
<servlet>
<servlet-name>ListLeague</servlet-name>
<servlet-class>s1314.view.ListLeagueServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ListLeague</servlet-name>
<servlet-class>list_league.view</servlet-class>
</servlet-mapping>
[highlight #AD7FA8]Content of Index.html file:[/highlight]
<body>
<table border='1' cellpadding='5' cellspacing='0' width='400' >
<tr bgcolor='#CCCCFF' align='center' valign='center'>
<td><h3>Duke's Soccer League: Home</h3></td>
</tr>
</table>
<p>This is the Home Page for Duke's Soccer League.</p>
<h3>Player</h3>
<ul><li><a href="list_league.view">List all league</a></li>
<li>Register for a league(TBA)</li>
</ul>
<h3>League Administrator</h3>
<ul><li><a>Add a new league</a></li></ul>
</body>